how to retrieve the top 3 salaries of the table using rownum
Answer Posted / raghunanda
SELECT * FROM(SELECT * FROM EMP ORDER BY SAL DESC) WHERE ROWNUM<=3;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does an inner join do?
What is trigger types in sql?
what are the features and advantages of object-oriented programming? : Sql dba
Explain what is table in a database?
What does sign mean sql?
Do we need to rebuild index after truncate?
What are the types of subqueries?
What is sql basics?
Enlist the advantages of sql.
Is pl sql different from sql?
What is a mutating table and a constraining table?
What is a sql*loader control file?
Can we create table in function?
What is an ndf file?
How do I create a sql script?