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 materialized view in sql?
How many types of index are there?
Is sql developer case sensitive?
What are the advantages of pl sql over sql?
How do you remove duplicates without using distinct in sql?
What is cursor in pl sql?
What is Materialized View? In What Scenario we Use Materialized View?
How do you drop a trigger?
What is the current version of sql?
What are the three forms of normalization?
What language is oracle sql developer?
What is the purpose of the sql select top clause?
How do you get column names only for a table (sql server)?
What is the main difference between sql and pl/sql?
How do you clear the screen in sql?