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

SELECT employee_name,min(salary) FROM ( select distinct
salary from employee order by salary desc)
where rowno<6 group by employee_name;

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are actual parameters and formal parameters?

1112


What is bitemporal narrowing?

1315


Mention what is the plv (pl/vision) package offers?

1110


How to run sql*plus commands in sql developer?

1165


What is a natural join?

1082


Write a unique difference between a function and a stored procedure.

1009


Explain the difference between sql and mysql.

1068


What is difference between joins and union?

1136


What is an exception in pl/sql?

1098


Define a temp table?

1029


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

1004


what are the differences among rownum, rank and dense_rank? : Sql dba

1045


Why stored procedure is better than query?

954


What are %type and %rowtype for?

1061


what is a trigger? : Sql dba

1041