how to find the second highest salary from emp table?

Answer Posted / anurag kumar rai

select max(sal) from employee where sal<(select max(sal) from employee)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is big data nosql?

514


explain the difference between myisam static and myisam dynamic. : Sql dba

519


What is difference between joins and union?

535


How do I partition a table in sql?

547


What is database migration?

521






What are expressions?

569


What is the primary use of normalization?

533


How do I add a database to sql?

584


What is field delimiter?

642


Is sql database free?

535


Mention what is the plv (pl/vision) package offers?

643


What is a join?

631


who introduced sql?

572


Explain the uses of control file.

619


What is blind sql injection?

579