how to check the 3rd max salary from an employee table?
Answer Posted / danny
SELECT min( sal )
FROM emp
WHERE sal
IN (
SELECT DISTINCT sal
FROM emp
ORDER BY sal DESC
LIMIT 0 , 3
)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is inner join faster than left join?
what is sql server agent? : Sql dba
what are all the common sql function? : Sql dba
What is the current version of postgresql?
what is collation? : Sql dba
Does group by remove duplicates?
What is your daily office routine?
how to use regular expression in pattern match conditions? : Sql dba
Can we use distinct and group by together?
Can delete statement be rollbacked?
how many tables will create when we create table, what are they? : Sql dba
define sql insert statement ? : Sql dba
Is primary key always clustered index?
how to escape special characters in sql statements? : Sql dba
Do we need to rebuild index after truncate?