Find out the 3rd highest salary?
Answer Posted / suba
(Instead of 3 we can find N highest value)
select min(sal) from emp e where 3>(select count(sal) from
emp where sal>e.sal);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to add a new column to an existing table in mysql? : Sql dba
What is optimistic concurrency control? : Transact sql
What is the difference between left join and right join?
What is recursive join in sql?
How do I partition in sql?
Explain ddl statements in pl/sql?
What is sql procedures and functions?
What is trigger in sql and its types?
Is primary key always clustered index?
Explain the methods used to protect source code of pl/sql.
How do you add a column to a table?
Can you call pl/sql package functions from within a fast formula?
Is not null in sql?
What is an example of translating a date into julian format?
Explain the rollback statement?