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 the third highest salary?

Answer Posted / nripesh agarwal

select * from emp where salary=(select distinct salary from
emp order by salary desc limit n,1)


// for Nth highest value put n=N-1....
//for 3rd highest put n=2........

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sql an operating system?

963


Does a primary key have to be a number?

918


How do I run sql profiler?

1007


What sql does db2 use?

928


How you can copy a file to file content and file to pl/sql table in advance pl/sql?

1094


What is recursive join in sql?

948


what are all the different types of indexes? : Sql dba

998


What are the different tcl commands in sql?

1106


Where can I learn sql for free?

933


What is not equal in sql?

1011


how can we destroy the session, how can we unset the variable of a session? : Sql dba

935


Define a temp table?

966


What is a behavioral trigger?

932


What is character functions?

1016


How to create an array in pl/sql?

1015