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

a query to select maxmun 3 salaries of employee table

Answer Posted / suresh babu

select * from employees a where 3 <= select count(distinct
b.salary) from employees b where a.salary >= b.salary);

This query,which returns the first maximum salary from
employees table.

Is This Answer Correct ?    0 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 right outer join in oracle?

1110


How do I connect to oracle database?

1023


Can we store images in oracle database?

944


What is a cursor and what are the steps need to be taken?

1117


I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database

2072


How to use in conditions in oracle?

995


What is an Oracle index?

1602


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

2198


How to pass a parameter to a cursor in oracle?

1103


How to create an oracle testing table?

1006


What is define in oracle?

998


How to create a new table in oracle?

1065


What is a cognitive schema?

905


How to establish administrator authentication to the server?

982


ABOUT IDENTITY?

2005