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

Answer Posted / manoranjan sethy

Method 01:
---------
Select Ename, MAX (Sal) From Emp
Group by ROWNUM, Ename
Having Rownum <=5;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we repair a mysql table? : Sql dba

710


what are rollup and cube in t-sql? : Transact sql

819


What is where clause in sql?

734


What is %type in pl sql?

712


What is the left table in sql?

699






How many row comparison operators are used while working with a subquery?

754


What is the difference between having and a where in sql?

800


What is difference between pls_integer and integer?

711


What is the size of partition table?

742


what does it mean to have quoted_identifier on? : Sql dba

894


How do I find sql profiler?

683


What are all ddl commands?

741


Explain the difference between sql and mysql.

754


What is trigger price?

731


How to create your own reports in sql developer?

729