Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / sanjib b
select last_name,salary from employees where salary =
(select max(salary) from employees
where salary <> (select max(salary) from employees))
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is basic structure of pl sql?
What is a behavioral trigger?
what is data manipulation language? : Sql dba
What are the subsets of sql?
Which is better stored procedure or query?
Does varchar need length?
How can check sql version from command line?
How to run pl sql program in mysql?
Why do we need a foreign key?
what is the syntax used for partition in tsql? : Transact sql
What are analytical functions in sql?
What is meant by cursor in sql?
what are the type of locks ? : Sql dba
Can a table contain multiple primary key’s?
What is sap sql?