how to find the second highest salary from emp table?
Answer Posted / mallika
SELECT salary FROM employee a
WHERE &n IN (SELECT COUNT(*) FROM employee b
WHERE a.salary <= b.salary)
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Why do we need databases?
What is the maximum database size for sql express?
What is materialized view in sql?
How to select unique records from a table?
What is a subquery in sql?
What is cursor status?
How to convert comma separated string to array in pl/sql?
Which table is left in left join?
list out some tools through which we can draw e-r diagrams for mysql. : Sql dba
What is nvl?
what is a tablespace? : Sql dba
Can I join the same table twice?
Enlist the advantages of sql.
Explain alias in sql?
What is acid property in a database?