how to retrieve the top 2 salaried persons from a database?
Answer Posted / abc
Select salary from (select salary from employees order by
salary desc) where rownum <=2;
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How do I enable sql encryption?
Why we use triggers in mysql?
Can delete statement be rollbacked?
What does partition by mean in sql?
what are all types of user defined functions? : Sql dba
What is the difference between clustered and non-clustered index in sql?
What is materialized view. What are different methods of refresh?
How does postgresql compare to mysql?
what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba
what are the different type of sql's statements ? : Sql dba
What is cursor and its types?
What is package in pl sql with an examples?
What does pl sql stand for?
What is the difference between between and in condition operators?
Can I join the same table twice?