Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / yogesh sharma
SELECT ENAME,SALARY FROM (SELECT ENAME,SAL FROM EMP ORDER BY SALARY DESC ) WHERE ROWNUM<6;
| Is This Answer Correct ? | 77 Yes | 13 No |
Post New Answer View All Answers
Is sql developer case sensitive?
How much does a sql dba make? : SQL DBA
What is the usage of nvl function?
what is online transaction processing (oltp)? : Sql dba
What is multiple partition?
What is application trigger?
Can you do multiple joins in sql?
How do I debug a stored procedure?
How do I count rows in sql query?
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
What is pl sql variable?
Why use triggers in sql?
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
What are the two types of periodical indexes?
what is collation? : Sql dba