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 are the parts of a sql statement?
How many joins in sql?
How to get list of all tables from a database?
How do I find duplicates in two columns?
Can we join more than 2 tables in sql?
Does view contain data?
Is it possible to link two groups inside a cross products after the cross products group has been created?
Where not exists in sql?
differentiate between float and double. : Sql dba
How do you write a complex sql query?
What does sign mean sql?
How many types of indexes are there in sql?
What are user defined functions?
what are wild cards used in database for pattern matching ? : Sql dba
What is %s in sql?