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
What is parallel hint?
how to see the create table statement of an existing table? : Sql dba
how can we know the count/number of elements of an array? : Sql dba
Mention what are the benefits of pl/sql packages?
What does joining a thread mean?
Can a procedure in a package be overloaded?
how to enter characters as hex numbers? : Sql dba
Why is stored procedure faster than query?
What is a pdo connection?
what is row? : Sql dba
Why trigger is used in sql?
what is schema? : Sql dba
Can dml statements be used in pl/sql?
What is indexing in sql and its types?
how mysql optimizes distinct? : Sql dba