how to find the second highest salary from emp table?
Answer Posted / harish
select * from emp where 2=(select count(distinct sal) from emp s where s.sal>e.sal
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is pl sql in dbms?
Why do we use subquery?
how to shutdown mysql server? : Sql dba
Compare sql & pl/sql
How do you identify a primary key?
What are the features of pl sql?
what are dynamic queries in t-sql? : Transact sql
Is sql considered coding?
What is gpt format?
Can a foreign key be a duplicate?
Can you do multiple joins in sql?
Why stored procedures are faster than query?
What is offset in sql query?
how to check server status with 'mysqladmin'? : Sql dba
What are literals in sql server?