how to find the second highest salary from emp table?
Answer Posted / vijay shegokar
select * from employee where salary=(select max(salary) from
employee where salary not in (select max(salary) from
employee));
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate between pl/sql and sql?
What are the different types of a subquery?
Is nosql faster than sql?
What is record data type?
what is denormalization. : Sql dba
What is partition in sql query?
list out some tools through which we can draw e-r diagrams for mysql. : Sql dba
What is an invalid partition table?
What is tuple in sql?
what is 'mysqld'? : Sql dba
How to pronounce postgresql?
What is sql character function?
what is try_catch block in procedure
What are sql data types?
What are the different datatypes available in PL/SQL?