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 / yogesh
A little correction:
sol2> select salary from emp order by salary desc limit 1,1;
select salary from emp order by salary desc limit n-1,1;
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain trigger and trigger types?
What are the different ways you can create databases in sql server?
How do you create an execution plan?
What is a db view?
What is master database? : SQL Server Architecture
can you implement data mining in SSRS?
How to disconnect from a sql server using mssql_close()?
What are views used for?
Where are sql server user names and passwords stored in sql server?
What is catalog views?
Explain the purpose of indexes?
What is the use of for clause?
Characterize join and name diverse sorts of joins?
If user is owning any SQL Objects, can we drop that user
Is foreign key a primary key?