can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com
Answer Posted / kumar
1 My Second Answer.
Select Top 1 * From Tablename where salary in
(select top 2 salary from tablename order by salary desc)
order by salary asc.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Can we insert data if clustered index is disabled?
What are extended events in sql server?
Explain how dts is used to extract, transform and consolidate data?
How can you hide the sql server instances?
Does a server store data?
What is the difference between grant and with grant while giving permissions to the user?
Explain view in sql server?
How can you list all the table constraints in a database?
What is a trigger and its types?
Your table has a large character field there are queries that use this field in their search clause what should you do?
what are defaults? : Sql server database administration
Explain a differential backup?
What is sql view?
in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration
What are advantages of ssrs or why we should use ssrs?