how to find nth highest salary
Answer Posted / kalai
SELECT * FROM EMP A WHERE 7=(SELECT COUNT(SAL) FROM EMP
WHERE A.SAL<SAL)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Thanks to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?
What are views in ms sql server?
What is format parameter in ssrs?
Is it ok to shrink transaction log?
Explain about Joins?
How to generate create table script on an existing table in ms sql server?
What is data block and how to define data block size?
What is the stuff and how does it differ from the replace function?
How to create an multi-statement table-valued function?
What is SQL Azure Federations?
How many types of triggers are there?
what is datawarehouse?
Is the primary key column of a table an index in ms sql server?
How to use subqueries with the exists operators in ms sql server?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?