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
How do I run sql profiler?
how to drop an existing index in mysql? : Sql dba
What is a join query?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
How to pronounce postgresql?
What are joins in sql?
What is a string data type in sql?
How many sql statements are used? Define them.
What is full form of rtm?
what is a join? : Sql dba
How many types of sql are there?
Is sql workbench free?
What is dense_rank?
What is difference between nchar and nvarchar?
Can we use threading in pl/sql?