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

Answer Posted / ajit

SQL QUERIES FOR FINDING Nth HIGHEST SALARY

SELECT DISTINCT (a.salary) FROM EMPLOYEES A WHERE &N = (SELECT COUNT (DISTINCT (b.salary)) FROM EMPLOYEES B WHERE a.salary<=b.salary);

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a query with a left outer join in oracle?

1126


What is the difference between count (*), count (expression), count (distinct expression)?

1046


How index is implemented in oracle database?

1048


How to create lov dynamically at runtime & attach to text field?

1240


How to store only time; not date and time?

1070


What is connection pool in oracle?

1038


What does sharding mean?

1055


What is an oracle tablespace?

1096


What is connection pooling in oracle?

1018


What is a package ? What are the advantages of package ?

1138


How to view the data files in the current database?

1151


material view and view disadvantages?

1127


How to use "if" statements on multiple conditions?

1217


What is memory advisor in Oracle?

1134


Explain the use of record option in exp command.

1068