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

What is unpivot?

558


What are secondary xml indexes?

555


How to rename an existing column with sql server management studio?

492


How many types of subqueries are there in sql server?

461


How you can minimize the deadlock situation?

545






What is bcp? When does it use?

505


Explain what stored procedure sp_replcounters is used for? : sql server replication

982


How to add additional conditions in SQL?

580


List the various tools available for performance tuning?

474


how many type of indexing in database?

567


What is the difference between sdf and mdf?

662


How to start and end transact-sql statements?

571


Explain the dirty pages?

566


How do I view a stored procedure in sql server?

509


my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

1528