Name Salary
Abc 50000
Abc 50000
xyz 20000
find the max salary using aggregate function?
Answer Posted / guest
select max(sal) from tab_name;
or
select * from tab_name where sal=(select max(sal) from
tab_name) and rownum<=1;
Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
How can I tell if sql is running?
State some properties of relational databases?
What is multiple columns?
What is an emotional trigger?
What is a sql statement?
What is scope and visibility in PL/SQL?
How do I know if I have sql express or standard?
What is the difference between distinct and unique in sql?
how to fetch common records from two tables? : Sql dba
Can we use the cursor's to create the collection in PL/SQL?
What is the difference between database trigger and stored procedure?
Which data dictionary views have the information on the triggers that are available in the database?
Which one is better sql or oracle?
What do you mean by stored procedures?
What is consistency?