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

How to get employee name from employee table which is the
fiveth highest salary of the table

Answer Posted / ajeet

SELECT first_name, salary FROM employees E1
WHERE (5) = (SELECT COUNT(DISTINCT(E2.salary))
FROM employees E2
WHERE E1.salary < E2.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 is myisam table stored? : Sql dba

1097


Is and as keyword in pl sql?

1012


What is sql mysql pl sql oracle?

1127


What is string join?

1023


What is use of package in pl sql?

1067


What is the use of double ampersand (&&) in sql queries? Give an example

1187


How do you create a db file?

1067


How to write a query to show the details of a student from students table whose

1061


Inline the values in PL/SQL, what does it mean.?

1273


What is the size of partition table?

1088


how would you enter characters as hex numbers? : Sql dba

1036


how do you know if your mysql server is alive? : Sql dba

1127


Which are the different types of indexes in sql?

1099


Is time a data type in sql?

960


What is date functions?

1088