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
How to add, remove, modify users using sql?
How does a self join work?
What are the triggers associated with image items?
Where not exists in sql?
how to run 'mysql' commands from a batch file? : Sql dba
Differentiate between pl/sql and sql?
What is Difference Between Unique and Primary Key Constraints?
What are the different parts of a package?
What is the difference between microsoft access and sql server?
How do you delete duplicates in sql query using rowid?
what is the difference between undefined value and null value? : Sql dba
What has stored procedures in sql?
What does the argument [or replace] do?
How to get list of all tables from a database?
How to write html code in pl sql?