how to check the 3rd max salary from an employee table?
Answer Posted / amit
select max(sal) from emp where sal<(select max(sal) from emp where sal<(select max(sal) from emp));
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is dbms? : Sql dba
what is bcp? When does it used? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
Is primary key always clustered index?
Can we rollback truncate?
what are the advantages of sql ? : Sql dba
How do I remove duplicates in two columns?
how to use regular expression in pattern match conditions? : Sql dba
What is your daily office routine?
Is primary key clustered index?
Can we use distinct and group by together?
how many tables will create when we create table, what are they? : Sql dba
Does group by remove duplicates?
What is the current version of sql?
Is inner join faster than left join?