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

select name from (select e.*, dense_rank() over (order by salary desc nulls last)as rn from emp e) where rn=5

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 compilation error in pl sql?

1025


What is dense_rank?

989


How do I tune a sql query?

1043


Is sql pronounced sequel or sql?

1340


What sql database should I use?

1201


What is a composite primary key?

1143


what are the limitations of identity column? : Transact sql

1163


Does view contain data?

1084


What is execute immediate?

1164


how do you control the max size of a heap table? : Sql dba

1026


What is sql constant?

1104


How to change sql*plus system settings?

1111


Is nosql relational?

1002


how to drop an existing view in mysql? : Sql dba

1107


what are the t string functions available in tsql? : Transact sql

1065