how to retrieve the top 3 salaries of the table using rownum
Answer Posted / nasir iqbal
SELECT * FROM EMP A WHERE 1=(SELECT COUNT (*) FROM EMP B
WHERE B.SAL>=A.SAL)
SELECT * FROM EMP
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Which certification is best for sql?
Will truncate release space?
what are the drivers in mysql? : Sql dba
Can you call pl/sql package functions from within a fast formula?
What is cost in sql execution plan?
What is break?
How do you remove duplicate records from a table?
Explain the difference in execution of triggers and stored procedures?
Does sql use python?
What are the two parts of design view?
What is the difference between delete, truncate and drop command?
Is left join inner or outer?
How can you fetch first 5 characters of the string?
What are the parameter modes supported by pl/sql?
What is a primary key example?