Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / mk
SELECT ENAME,SALARY FROM (SELECT ENAME,SAL FROM EMP ORDER
BY SALARY DESC ) WHERE ROWNUM<6;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the different types of database management systems?
What is the primary use of normalization?
What is oracle sql called?
What is the clause we need to add in function body to return variable?
how to create a test table in your mysql server? : Sql dba
What is bitemporal narrowing?
What is equi join in sql?
How do I quit sql?
What are data types in pl sql?
Why cross join is used?
How many sql core licenses do I need?
What is the maximum size of sqlite database?
What is the purpose of a secondary key?
how to extract a unit value from a date and time? : Sql dba
what is 'mysqlshow'? : Sql dba