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
What is a design view?
What are stored procedures used for?
How do I partition a table in sql?
What is clause?
what is recursive stored procedure? : Sql dba
what is a control file ? : Sql dba
What is Collation Sensitivity ? What are the various type ?
how to show all tables with 'mysql'? : Sql dba
How many tables can you join in sql?
Why is normalization important?
What are the advantages of stored procedure?
What is not equal in sql?
Does oracle roll back the transaction on an error?
What does count (*) do in sql?
Does pdo prevent sql injection?