How to find the second largest salary in the emp database and
also How to find 3rd,4th and so on ........ in the emp database

plz mail the answer @ mak2786@gmail.com

Answer Posted / prafulla borade

SELECT MAX(VCRG_ID) FROM dbo.TRN_VEHICLE_CARGO WHERE VCRG_ID< (SELECT MAX (VCRG_ID) FROM dbo.TRN_VEHICLE_CARGO)

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different backup plans?

702


What is cte (common table expression)?

769


Some queries related to SQL

737


Is candidate a key?

712


What kind of problems occurs if we do not implement proper locking strategy?

1141






What is intellisense?

785


how you can deploy an ssrs report?

139


What is an expression in ms sql server?

723


Do you know what is difference between stored procedure and user defined function?

803


Why we need to use secondry database file? though, we can do same work using primary database file also.

6201


What are the different sql server versions?

681


what kind of lan types do you know? : Sql server database administration

702


What does it mean to normalize a database and why would you do it?

726


Can an entity have two primary keys?

725


Does the unique constraint create an index?

742