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
What are the built in functions of sql?
What are the rules to be applied to nulls whilst doing comparisons?
How do I start pl sql?
How does sql developer connect to oracle database?
Why do we use procedures in sql?
how many sql dml commands are supported by 'mysql'? : Sql dba
What is normalization in a database?
how to include numeric values in sql statements? : Sql dba
What is the difference between microsoft sql and mysql?
Explain the the update statement in sql?
What is the difference between null value, zero, and blank space?
What are the types of triggers in sql?
How do I run sql profiler?
What are the two types of exceptions in pl/sql?
how many ways we can we find the current date using mysql? : Sql dba