how to find nth highest salary
Answer Posted / ajay kumar barik
select a.id from product a where (1= (select count(b.id)
from product b where b.id>=a.id))
It is for all database
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can one drop a column from a table?
What are differences in between sql server 2012 and sql server 2016?
How do I perform an unattended install of sql server 2000?
Explain ms sql server reporting services vs crystal reports?
What is instead of dml trigger?
What is the default order of an order by clause?
What are the steps to follow to configure SQL*Net?
What is the default server name for sql server?
How to convert numeric values to integers in ms sql server?
Relational calculus is what type of language?
What is SubQuery in SQL Server 2008
How many types of relations are there between dimension and measure group? : sql server analysis services, ssas
what is a mixed extent? : Sql server administration
Does a specific recovery model need to be used for a replicated database? : sql server replication
How to retrieve error messages using odbc_errormsg()?