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 is sql collation?
How to create indexed view?
explain different types of backups avaialabe in sql server? : Sql server database administration
Explain partitioned view?
How to end a stored procedure properly in ms sql server?
What is bulkcopy in sql?
What are out-of-range errors with date and time literals?
List few advantages of stored procedure.
Mention the command used to rename the database.
How to disable stored procedure sql server?
Detail about the hardware which is supported by SQL server?
What are alternate keys?
How do clustered indexes store data?
What are difference between Cluster index and Non-Cluster index?
What is the difference between left and right outer join?