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

Answer Posted / pramod majhi

select max(salary) from employees where salary<(select
max(salary) from employees);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stuff and replace function?

578


What is the difference between sql and t sql?

542


What is data manipulation language?

702


Can a view be mutating? If yes, then how?

584


Is it possible to read/write files to-and-from PL/SQL?

657






what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba

556


Where is pl sql used?

521


What are sql objects?

546


mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql

567


What is a loop in sql?

572


How does cross join work in sql?

536


Is left join faster than join?

549


How do I upgrade sql?

553


What is a temp table?

571


What is memory optimized?

560