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
How many types of schemas are there?
What is schemabinding a view?
How much memory that we are using in Logshipping Concept?
Explain about analysis services?
Can I disable or restrict ssrs export formats (rendering formats)?
Will the writetext statement activate a trigger?
Can one drop a column from a table?
How would you use user_constraints table in DB?
How to recreate an existing index in ms sql server?
How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?
What is partition index in sql server?
Explain the difference between HTTP and HTTPS in database?
What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?
How to create user messages with print statements in ms sql server?
explain different types of constraints? : Sql server database administration