how to find the second highest salary from emp table?

Answer Posted / moharaj m

select max(salary) from emp where salary < (select max
(salary) from emp)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %type in pl sql?

542


What schema means?

527


how to check server status with 'mysqladmin'? : Sql dba

571


What is bulk collect in pl sql?

535


What is orm in sql?

541






What does the file extension accdb stand for?

549


What are the advantages of indexing?

523


what is msql? : Sql dba

568


What is the difference between mdf and ndf files?

573


what's the difference between a primary key and a unique key? : Sql dba

510


what is 'mysqldump'? : Sql dba

573


What is asqueryable?

533


Is sql an operating system?

545


Why use truncate instead of delete?

548


What are the set operators in sql?

560