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 character functions in sql?
What are functions in sql?
Is full outer join same as cross join?
What mean sql?
What type of join is sql join?
How do I partition in sql?
What is insert command in sql?
What are all ddl commands?
What is $$ in sql?
Explain two easy sql optimizations.
What is error ora-12154: tns:could not resolve the connect identifier specified?
What are sql commands?
How do you modify a trigger?
How many functions are there in sql?
Does view contain data?