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...

Find out the 3rd highest salary?

Answer Posted / jeevitha

select distinct a.salfrom emp a where &n= (select count
(distinct(b.sal)from emp b where a.sal<= b.sal)
-----
enter the highest sal of n:2,3.....n

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql functions? Describe in brief different types of sql functions?

1104


What is the use of %rowtype?

1041


What is cursor and its types?

1073


Is there any restriction on the use of union in embedded sql?

1157


What is sql profiling in oracle?

1065


What is the difference between view and stored procedure?

959


What is the size of partition table?

1048


Is sql injection illegal?

1025


how to fetch common records from two tables? : Sql dba

1172


what is a tablespace? : Sql dba

1053


What is the cause of mutating table error and how can we solve it?

1049


what are the 'mysql' command line arguments? : Sql dba

1139


How to return multiple rows from the stored procedure?

970


Is it possible to read/write files to-and-from PL/SQL?

1103


What are the dml statements?

1143