Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find the second highest salary from emp table?

Answer Posted / bell

SELECT TOP 1 FieldName FROM (SELECT TOP 2 FieldName FROM
Tabname ORDER BY FieldName DESC) allis ORDER BY FieldName
ASC

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you save or place your msg in a table?

1032


What is execute immediate?

1089


How does sql profiler work?

1023


Can we insert data in view?

971


What is normalization in a database?

1162


How many types of primary keys are there?

1041


How many sql statements are used? Define them.

1045


What is triggering circuit?

1073


How to use distinct and count in sql query? Explain

1031


What is an escape character in sql?

1033


Where is sql database stored?

987


Could you please provide oca (oracle 10g) dumps for my certification ?

5171


What is dml statement?

961


What is sql*loader and what is it used for?

1158


Does db2 use sql?

954