can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / swapnl
select max(sal) from emp_det where sal not in (
select max(sal) from emp_det);
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the two modes of authentication in sql server?
Why can there be only one clustered index and not more than one?
What is difference between view and materialized view?
Define a cross join?
How to add additional conditions in SQL?
What is a matrix in ssrs?
tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration
How column data types are determined in a view?
What is advantage data architect?
Are resultset updatable?
How to execute multiple stored procedures at one time in sql server?
How to call a function from a stored procedure in SQL Server ?
How can I change procedure name in sql server?
what is a mixed extent? : Sql server administration
What is difference between group by and having?