how to find nth highest salary
Answer Posted / premsagar12
SELECT DISTINCT(A.SAL),ENAME FROM EMP A WHERE &N=(SELECT
COUNT(DISTINCT(B.SAL )) FROM EMP B WHERE A.SAL<=B.SAL);
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
what is a sub-report?
How to drop an existing table?
Explain full-text indexing?
What function does a database engine serve in the sql server?
What is the recovery model? List the types of recovery model available in sql server?
Can I save my report as html, excel or word? : sql server management studio
Explain features of analysis services?
What is page-level compression?
Tell me what are the essential components of sql server service broker?
Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)
How you can get the list of largest tables in a database?
What are parameterized reports? What are cascading parameters in ssrs reports?
Do you know what is xpath?
Other than truncate statement, which other command can by-pass the trigger on the tables?
What are advantages of ssrs or why we should use ssrs?