how can we find nth max salary from A table

Answer Posted / a

select MAX(Salary) from Employee
WHERE Salary NOT IN (select MAX(Salary) from Employee )

Is This Answer Correct ?    0 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the primary key a clustered index?

607


I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

1936


I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.

2757


What is dpf in db2?

664


What type of database is db2?

523






What is a bind in db2?

590


Give the name of some fields form sqlca.

609


How to find the number of rows in a db2 table?

644


What is the difference between db2 and oracle?

671


Is db2 free?

684


Explain about rct in db2?

633


How to get the ddl of a table in db2?

675


What is dclgen (declaration generator)?

601


Mention the location where the output received from explain statement is stored.

628


Define data page.

628