how to find the fifth highest salary?

Answer Posted / srinu

SELECT MIN(SAL) FROM(SELECT TOP 5 * FROM EMP ORDER BY SAL
DESC) AS MIN_SAL

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does storing of data in stored procedures increase the access time? Explain?

812


What is Relational Calculus?

534


What is DDL Interpreter?

528


Explain about recursive stored procedures?

458


What are the three levels of database architecture?

421






What is DML (Data Manipulation Language)?

518


What is a two tier wage system?

454


What do you mean by Correlated subquery?

498


What is Fully Functional dependency?

558


What is a checkpoint and When does it occur?

465


What is difference between two tier and three tier?

423


Which is super key?

474


What is temp db database? : sql server architect

488


What is single tier architecture?

446


Define the "integrity rules"?

480