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
What are the main features of cursor?
What are the uses of sysdate and user keywords?
what are date and time data types in mysql? : Sql dba
What is the difference between the conventional and direct path loads? : aql loader
Can we use ddl statements in stored procedure sql server?
Can pl sql procedure have a return statement?
what are all the different types of indexes? : Sql dba
what is the difference between char_length and length? : Sql dba
What is the syntax to add a record to a table?
explain mysql aggregate functions. : Sql dba
What is the purpose of a sql?
How do I tune a sql query?
List out the acid properties and explain?
What is pls integer?
What are the types of triggers in sql?