How to find only %th Highest Sal
Answer Posted / ajit
select *
from emp
where sal = ( select max(sal)
from emp
where level = &n
connect by prior sal > sal
group by level);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is procedure function?
What is scalar data type in pl sql?
What is coalesce sql?
How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?
What is difference between rank () row_number () and dense_rank () in sql?
Explain polymorphism in pl/sql.
How many types of tables are there?
What is difference between nchar and nvarchar?
Is delete faster than truncate?
How do we use distinct statement? What is its use?
What is the difference between sql and mysql?
Is null operator in sql?
What are some emotional triggers?
Why triggers are used?
Does truncate require commit?