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 / prathapshankarshiva
select max(salary) from (select salary from table1 where
salary<(select max(salary) from table1))
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is #temp and @table variable in SQL server?
What are the system database in sql server 2008?
Explain what is analysis service repository?
What do you understand by user-defined function in the sql server?
What are approximate numeric data types in ms sql server?
How many replicas are maintained for each SQL Azure database?
What do you understand by mirroring?
What are “lost updates”?
How do I edit a procedure in sql server?
What are the steps to process a single select statement?
How does normalization work?
What is transaction server consistency?
What is #table in sql server?
Does hive support indexing?
What is a cube? : sql server analysis services, ssas