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
Explain what role entity and relationship play in an ER diagram.
What is the difference between char and varchar2 datatype in sql?
List the different index configurations possible for a table?
How to stop a loop early with break statements in ms sql server?
What happens if null values are involved in arithmetic operations?
What is a partition function in sql server?
Explain how to use linked server?
How do I find query history in sql server?
Are null values the same as that of zero or a blank space?
How do I run a trace in sql server?
Difference between report and query parameter. Why do we need different type of parameter?
How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?
Explain system functions or built-in functions? What are different types of system functions?
What is log shipping?
Do you know the isolation level that sql server support?