how to retrieve the top 3 salaries of the table using rownum
Answer Posted / debanjan rudra
select sal from (select sal from emp order by val desc)
where rownum < 4;
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is query optimization in sql?
What is database white box testing and black box testing?
How many columns should be in an index?
How to call a javascript function from pl sql?
What is autocommit sql?
How can I tell if sql is running?
Can we use threading in pl/sql?
what is the difference between char_length and length? : Sql dba
What is exception? What are the types of exceptions?
How many commands are there in sql?
Explain exception handling in pl/sql?
What is sql select statement?
How many sql core licenses do I need?
Explain the select statement in sql?
What is before and after trigger?