Write a query to find five highest salaries from EMP table.
(there is a column SALARY)

Answer Posted / amit bharane

select salary from employees
where rownum<=5
order by salary desc

Is This Answer Correct ?    3 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a constraint? Tell me about its various levels. : Sql dba

572


Is sql dba a good career? : SQL DBA

544


Why do we use subquery?

499


What is primary key and unique key?

555


list out some tools through which we can draw e-r diagrams for mysql. : Sql dba

519






What port does sql server use?

520


Define implicit and explicit cursors.

641


What do you mean by stored procedures? How do we use it?

541


What view means?

567


What is bind reference and how can it be created?

590


What is the life of an sql statement?

531


What is numeric function sql?

549


Define commit, rollback and savepoint?

586


What is the purpose of design view?

537


How would you convert date into julian date format?

604