How to find 6th highest salary from Employee table ?
Answer Posted / rahul gupta
select sal from employee e1 where 5 = (select count(*) from
employee e2 where e1.sal < e2.sal)
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How to get a list of columns using the "sys.columns" view in ms sql server?
What stored by the master? : sql server database administration
How do you manipulate data?
What are difference between Cluster index and Non-Cluster index?
Does windows server 2016 come with sql server?
Sql server reporting services vs. Crystal reports.
How do I create an extended event in sql server?
what are user defined datatypes and when you should go for them? : Sql server database administration
How can I create a new template for import ? : sql server management studio
What is sql profiler. What are the default templates with it? : sql server database administration
What is the default port for SQL Server over a firewall?
Are connections to sql server encrypted?
How secure is sql server database?
Explain what is dbcc?
Can a database be shrunk with users active?