There is a 5000 EMP in company.how we find out the 5th
highest getting salary employee outof 5000 employes........
Answer Posted / payel
SELECT * FROM STAFF AA
WHERE 5 = (SELECT COUNT (SALARY) FROM STAFF WHERE SALARY
<= AA.SALARY );
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Which command is used to connect to a database in DB2 ? Give the Syntax.
What is cloudant database?
What is a dbrm in db2?
Which component is used to execute the sql statements?
What are bind parameters in db2?
What is the advantage in De-normalizing tables in DB2?
What is null value in db2?
How to create backup table in db2?
What is the maximum length of sqlca?
Is db2 a mainframe?
What happens in bind step in a db2 program?
Can one database have multiple instances?
What is explain in db2?
Can we delete records from view?
Which command is used to remove all rows from a table?