How to find only %th Highest Sal
Answer Posted / pavan
select e.* from emp e where &n=(select count(distinct e1.sal)from emp e1 where e.sal>e1.sal)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are tuples in sql?
what are the 'mysql' command line options? : Sql dba
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
What is string join?
What is the difference between clustered and non-clustered indexes?
Can a select statement fire a trigger?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
How many triggers can be applied to a table?
What is the cause of mutating table error and how can we solve it?
Is primary key always clustered index?
Explain the difference between 'between' & 'and' operators in sql
What is the use of count (*) in sql?
What is coalesce in sql?
Can we call procedure in select statement?
What is a field in a database?