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

write a query to find 4th max salary

Answer Posted / anand v

select user_name,sal,rank over(order by sal desc) rank from table
where rank =4

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does := mean in pl sql?

989


is mysql query is case sensitive? : Sql dba

1029


Can primary key be changed?

861


What is a sql*loader control file?

1156


Which one is faster ienumerable or iqueryable?

864


What is a subquery in sql?

974


What is set serveroutput on?

1086


What is spool?

990


Do ddl statements need commit?

920


Difference between truncate, delete and drop commands?

1022


Is hadoop a nosql?

946


What is the current version of postgresql?

1003


Do we need to rebuild index after truncate?

972


Explain select statements in sql?

998


What are some predefined exceptions in pl/sql?

1055