Name Salary
Abc 50000
Abc 50000
xyz 20000
find the max salary using aggregate function?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prashant
select max(salary) from
(select distinct(salary) from ABC)
Is This Answer Correct ? | 0 Yes | 0 No |
What is exit statement?
How to check if a column is nullable before setting to nullable?
What does (+) mean in sql joins?
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
Is pl sql a scripting language?
What are the triggers associated with image items?
What are the differences between Database Trigger and Integrity constraints ?
What types of commands can be executed in sql*plus?
I want to know the difference between A Record Type and a Table.
What is materialized view. What are different methods of refresh?
How to run pl sql program in mysql?
Define sql delete statement.