how to find nth highest salary
Answer Posted / brahma
select * from table_name t1 where (n-1)=
(select count(distinct(column_name)) from table_name t2
where t2.column_name>t1.column_name)
| Is This Answer Correct ? | 101 Yes | 47 No |
Post New Answer View All Answers
Which Model uses the SET concept
What is a mixed extent?
What is @@rowcount in sql?
what are acid properties? : Sql server database administration
How to trouble shoot if unable to connect SQL Server
What are the 10 characteristics of data quality?
What is after dml trigger?
How can I create a report based on a query? : sql server management studio
What do you mean by collation recursive stored procedure?
What are the pros and cons of putting a scalar function in a queries select list or in the where clause?
What is the largest component inside a field?
How to use copy and concatenate commands in SQL?
What are the advantages of policy management?
List the data types available in mssql?
Explain some stored procedure creating best practices or guidelines?