how to find nth highest salary
Answer Posted / mangalesh porwal
HERE N IS THE NO WHICH HIGHEST NO U WANT..........
IT SURELY WORKS.....
SELECT TOP 1 * FROM (SELECT TOP N * FROM (SELECT ROLLNO FROM TABLE_NM ) AS D ORDER BY ROLLNO DESC) AS P ORDER BY ROLLNO
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of triggers in sql server?
What are the dis_advantages of stored procedures, triggers, indexes?
Can we write ddl in trigger?
Why it is recommended to avoid referencing a floating point column in the where clause?
Using the customer, and order table in northwind database, please write a query to produce xml?
What command do we use to rename a database?
What is data source document?
Is null in sql server?
When do you think a developer should use sql server-based cursors?
what are constraints? Explain different types of constraints? : Sql server database administration
What is an entity-relationship diagram (erd)?
Do you know what is rank function?
What are 3 ways to get a count of the number of records in a table?
What are .mdf files?
What is 2nf normalization?