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 / harsha
select * from my_table1 where sal not in (select max(sal)
from my_table1) order by Sal desc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to copy the tables, schema and views from one sql server to another?
What is a view in sql?
How to write an inner join with the where clause in ms sql server?
Do you know what is similarity and difference between truncate and delete in sql?
What is temporary stored procedure?
Please illustrate physical database architecture? : SQL Server Architecture
Why truncate is ddl command?
How do I find my localdb version?
Which are ddl commands?
What is the use of nvl work?
whats the maximum size of view state??
What is a mutating table error and how can you get around it?
What is field in algebra?
What is a document index?
What is a collation in ms sql server?