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 ? | 20 Yes | 0 No |
Post New Answer View All Answers
Do foreign keys improve performance?
How do I run a sql trace?
what are the differences between require and include, include_once and require_once? : Sql dba
What type of database is cloud sql?
How can a pl sql block be executed?
what is auto increment? : Sql dba
What are the types pl/sql code blocks?
How do you declare a constant?
How to add new employee details in an employee_details table with the following details
What is rename in sql?
What are triggers in sql?
What is scope and visibility in PL/SQL?
How can you save or place your msg in a table?
Enlist the advantages of sql.
What does select count (*) mean in sql?