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

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

1046


What is a partition in oracle?

1207


What are the ways tablespaces can be managed and how do they differ?

2450


How to list all indexes in your schema?

1142


How to convert dates to characters in oracle?

1093


What happens to the current transaction if a ddl statement is executed?

1059


Can a formula column be obtained through a select statement ?

2380


Explain alias?

1193


What is a select query statement in oracle?

1028


How to find out what oracle odbc drivers are installed?

1093


How to assign a table row to a record variable?

1094


What are the different types of partitions in oracle?

1034


From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.

1138


what is meant by magic query

2235


What is the data pump export utility?

1134