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 check the 3rd max salary from an employee table?

Answer Posted / gourvendra singh

In oracle you can find the 3rd max salary with the help of
the command:-

select sal from(select sal from(select distinct sal from
emp order by sal desc)
where rownum <=3 order by sal asc) where rownum=1;

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are all the common sql function? : Sql dba

1125


what are aggregate and scalar functions? : Sql dba

1122


Is primary key clustered index?

1011


Does group by remove duplicates?

1108


how to escape special characters in sql statements? : Sql dba

1110


What is the current version of postgresql?

1163


Do we need to rebuild index after truncate?

1128


what is sql server agent? : Sql dba

1173


Can we rollback truncate?

1072


How do I remove duplicates in two columns?

1177


Can delete statement be rollbacked?

1050


how many tables will create when we create table, what are they? : Sql dba

1138


what are the advantages of sql ? : Sql dba

1136


What is the best sql course?

1042


define sql insert statement ? : Sql dba

1092