how to find nth highest salary
Answer Posted / seeman
select * from table_name t1 where (n-1)=
(select count(distinct(t2.column_name)) from table_name t2
where t2.column_name>t1.column_name)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what is the difference between them (ethernet networks and token ring networks)? : Sql server database administration
What do mean by xml datatype?
How to grant a permission in ms sql server using "grant execute" statements?
Do you know the different ddl commands in sql?
Can sql servers linked to other servers?
How to create new databases with "create database" statements?
How to create view in stored procedure sql server?
You want to check the syntax of a complicated update sql statement without executing it. What command should you use?
What is update locks?
What are different types of raid levels?
How to change the password of a login name in ms sql server?
What is the use of partition by in sql server?
How can we check the sql server version?
Explain about SQLOS?
How can we call UDF(User Define Function) using C# code in ASP.net ?