Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / kishore
select salery from (select salery from
emp order by salery desc) where rownum <=5 ;
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is dynamic query?
what are the differences between char and nchar? : Sql dba
What are few of the schema objects that are created using PL/SQL?
Can ddl statements be used in pl/sql?
Can we use delete in merge statement?
explain the difference between myisam static and myisam dynamic. : Sql dba
Can we create foreign key without primary key?
What are pl sql procedures?
Do we need commit after truncate?
Is sql workbench free?
How to know the last executed procedure?
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
What are the possible values that can be stored in a boolean data field?
What is thread join () in threading?
Explain architecture of sql server notification services?