Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / prem chhappesh
select max(salary) from emoplyee where salary not in(select max(salary) from employee)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we insert in sql function?
How is a PL/SQL code compiled?
Can we use two order by clause in query?
What is inner join in sql?
Is sql database free?
Is there a way to automate sql execution from the command-line, batch job or shell script?
What does count (*) mean?
Can unique keys be null?
How does index help in query performance?
Why partition by is used in sql?
How do I partition a table in sql?
Can we create foreign key without primary key?
What is triggering circuit?
Explain the rollback statement?
does sql support programming? : Sql dba