Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / srinivas

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sqlerrm?

554


What is count * in sql?

558


How many clustered indexes can you have?

542


When do we use triggers?

592


What is the use of procedures?

550






Why partition by is used in sql?

562


Can ddl statements be used in pl/sql?

600


How to create a menu in sqlplus or pl/sql?

618


What do you understand by exception handling in pl/sql?

581


What is on delete restrict?

544


what is the difference between inner and outer join? Explain with example. : Sql dba

555


Does normalization improve performance?

558


What is java sql connection?

518


What is varchar example?

582


What are the different operators available in sql?

583