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 salary from emp
order by salary desc N,1);


// Put the value for N as for Nth highest salary
// e.g. for 2nd put N=2 , for 3rd put N=3 and so on...

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is record data type?

900


How many triggers can be applied to a table?

1039


What are sql*plus environment variables?

1075


How to convert comma separated string to array in pl/sql?

1165


Is nosql faster than sql?

1001


What is interval partition?

1042


What is sql deadlock?

1113


what is 'mysqldump'? : Sql dba

1093


What does a pl/sql package consist of?

961


Explain the difference between cursor declared in procedures and cursors declared in the package specification?

1119


What is not in sql?

934


Write a query to find the names of users that begin with "um" in sql?

972


Can you selectively load only those records that you need? : aql loader

1023


how many columns can be used for creating index? : Sql dba

932


What are the rules to be applied to nulls whilst doing comparisons?

1311