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
Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you
SQL Server Architecture ?
what are database files and filegroups? : Sql server database administration
What is ddl and dml commands?
What is difference between createstatement and preparedstatement?
whats the maximum size of view state??
Can you edit the .rdl code associated with a linked report?
how we use window authentication connection with sql server.?
Explain “@@rowcount” and “@@error” in sql server?
Explain primary key and foreign key constraints?
What is in place upgrade in sql server?
What is shared lock?
What is the rdl file?
Using the customer, and order table in northwind database, please write a query to produce xml?
What are the database objects? : SQL Server Architecture