how to find the second highest salary from emp table?

Answer Posted / chandu

select max(sal)from table name where sal<(select max sal
from table name)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use procedures in pl sql?

518


Does sql*plus have a pl/sql engine?

572


How does an execution block start and end in pl sql?

500


Is it possible to update views?

542


What are the popular database management systems in the it industry?

569






What is sqlcontext?

551


Can we call dml statement in function?

542


Why is theta join required?

664


What are all types of user defined functions?

532


explain access control lists. : Sql dba

557


What does := mean in pl sql?

555


How do I view a sql database?

558


what are all different types of collation sensitivity? : Sql dba

525


What are the different types of joins in sql?

583


What is union and union all keyword in sql?

568