How to find the second largest salary in the emp database and
also How to find 3rd,4th and so on ........ in the emp database
plz mail the answer @ mak2786@gmail.com
Answer Posted / suhail
select top 1 salary from (select top 5 salary from
emp_table order by salary desc)temptable order by salary asc
| Is This Answer Correct ? | 17 Yes | 36 No |
Post New Answer View All Answers
How would you go about developing a ssrs report?
What is 1nf normalization form?
Difference between group by clause and having clause in SQL?
Write SQL queries on Self Join and Inner Join.
Can foreign key be deleted?
What happens if we shrink log file in sql server?
What is data set in report?
How to copy data from one table to another table?
Does a specific recovery model need to be used for a replicated database? : sql server replication
Explain about service Broker functions?
What is the boxing and unboxing concept in .net?
What is instead of dml trigger?
What is the difference between clustered and a non-clustered index?
What do you understand by intent locks?
What is the filtered index?