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
How do I run pl sql in sql developer?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
What are sql ddl commands?
Explian rowid, rownum? What are the psoducolumns we have?
What are schema-level triggers?
can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba
Is sql a oracle?
How do I create a sql script?
What is faster join or subquery?
What are the types of queries in sql?
How to call a javascript function from pl sql?
What does select * from mean in sql?
What is parallel hint?
What is substitution variable?
What is sql catalog?