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

Here is the correct query:

select ename,sal from emp e
where 3 = (select count(distinct(sal))+1 from emp
where e.sal < sal);

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are oracle functions?

1090


What are the arithmetic operations?

1152


How to display employee records who gets more salary than the average salary in the department?

1126


What is primefaces used for?

1098


Does oracle partitioning improve performance?

1053


What to do if the startbd.bat failed to start the xe instance?

1128


What are the different pseudo commands? Explain in general?

1125


What is materialized view in Oracle?

1116


How to load excel data sheet to oracle database

1078


How to start a new transaction in oracle?

1137


what is a Nested Loop join?

2175


why dont we assign not null constraint as table level constraint.

2798


What is the usage of synonyms?

1219


Difference between cartesian join and cross join?

1093


What is a nested table and how is it different from a normal table?

1112