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 is PL/SQL Records?

1198


What is the difference between delete and truncate commands?

1051


How can I see all tables in sql?

1086


What are tuples in sql?

1144


Enlist the characteristics of pl/sql?

1812


Do stored procedures prevent sql injection?

974


What is left join in sql?

1062


What is AUTH_ID and AUTH_USER in pl/sql ?

2198


Is sqlite free?

981


What is the sql case statement?

1018


Differentiate between sga and pga.

1172


What is sql and how does it work?

1185


how to fetch alternate records from a table? : Sql dba

1123


Can a foreign key be null?

1096


Can a foreign key be a duplicate?

918