how to find the second highest salary from emp table?
Answer Posted / vikas
select top 1 salary from emp
where salary in (select top 2 salary from emp order by salary desc)order by salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are different types of sql commands?
How do I run a sql query in pgadmin 4?
What is equi join in sql?
Which certification is best for sql?
what is sp_pkeys? : Transact sql
Is sql a oracle?
write an sql query to find names of employee start with 'a'? : Sql dba
What is the sql query to display the current date?
Is t sql a programming language?
How can we debug in PL/SQL?
What is out parameter used for eventhough return statement can also be used in pl/sql?
What are character functions?
Why having clause is used in sql?
How to create a menu in sqlplus or pl/sql?
Which are sql * plus commands?