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 / kavitha nedigunta

select a.ename,a.sal
from(select ename,sal,
dense_rank() over( order by sal desc nulls last) rk
from emp)a
where rk =5;

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which command using query analyzer will give you the version of sql server and operating system? : Sql dba

1054


What is sql stand for?

979


What is a sql select statement?

1032


How many rows can sqlite handle?

1108


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

1037


How do you truncate?

902


How to add new employee details in an employee_details table with the following details

1086


What does select top 1 do in sql?

1084


Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

1161


Which command is used to delete a trigger?

1323


How do you create an update query?

960


Explain 3 basic parts of a trigger.

1307


what are the different index configurations a table can have? : Sql dba

995


Can we insert in view in sql?

1050


What is delete command in sql?

1109