how to retrieve the top 3 salaries of the table using rownum
Answer Posted / debbie
select * from (select sal from emp order by sal desc)
where rownum<=3
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a record in a database?
Can a foreign key be a duplicate?
what is schema? : Sql dba
What do you understand by pl/sql cursors?
What are the different types of constraints?
What is coalesce sql?
What is trigger in pl sql?
How many columns should be in an index?
What has stored procedures in sql and how we can use it?
Which language is used in sql?
What is a crud api?
How to look at the current sql*plus system settings?
Why we use stored procedure instead of query?
What is trigger in sql? Explain
What is meant by cursor in sql?