Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / varun
select max(sal) from emp ((select sal from emp)-(select max
(sal) from emp))
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
How do I truncate a word?
What is parallel hint?
What is indexing oracle sql?
Is trigger a stored procedure?
How to run sql statements with oracle sql developer?
How do I find duplicates in sql?
What is pl sql block in dbms?
What is having clause in sql?
What is difference between my sql and sql?
What are some emotional triggers?
What is union and union all keyword in sql and what are their differences?
What is sqlerrd?
Why stored procedure is faster than query?
What is an alias command?
What is the difference between clustered and non-clustered indexes?