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 / riyazkhan
select Sal from Employee where Sal != (select max(Sal) from Employee) Order By Sal desc
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain activity monitors
Are semicolons required at the end of sql statements in sql server 2005?
What do you understand by replication in sql server?
How to delete duplicate rows from table except one?
What is table-valued sub query?
How many databases instances are there in sql server 2000?
How to move database physical files in ms sql server?
what is new philosophy for database devises for sql server 7.0? : Sql server database administration
How to name query output columns in ms sql server?
How many full-text indexes can a table have?
What are the different subsets of sql?
Explain unique key in sql server?
What is a not null constraint?
How to get nth highest salary from employee table.
What command is used to rename the database?