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 / sai

SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP n salary
FROM employee
ORDER BY salary DESC) a
ORDER BY salary

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain character-manipulation functions?

1125


What are predefined functions in sql?

1042


How do you know if a relationship is 2nf?

942


What is nosql db?

964


Can we create foreign key without primary key?

983


Is sql an operating system?

1017


what is datawarehouse? : Sql dba

1008


Can we create table inside stored procedure?

951


What is mutating table error?

1175


How do sql databases work?

990


What is the difference between sql, mysql and sql server?

1099


How does one use sql*loader to load images, sound clips and documents? : aql loader

1183


What are all the common sql functions?

1016


What is Collation Sensitivity ? What are the various type ?

952


What is the basic structure of an sql?

1098