how to find nth highest salary
Answer Posted / harninder
select `salary` from test t1 where 0=(select count(*) from
test where t1.`salary`<`salary`)
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
How to generate create table script on an existing table in ms sql server?
Please differentiate between a local and a global temporary table?
What is RMS migrations?
What are different types of statement?
Explain subquery and state its properties?
In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance
What is the difference between for trigger and after trigger?
How to update multiple rows with one update statement in ms sql server?
What is the parse query button used for?
Define inner join in sql server joins?
Why you need indexing? Where that is stored and what you mean by schema object? For what purpose we are using view?
What is normalization and what are the advantages of it?
Can you tell me about the concept of ER diagrams?
When should you use an instead of trigger?
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security