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

find the third highest salary?

Answer Posted / anu

select *
FROM (select emp1.* ,rownum rnum
     from ( select *  from emp order by sal_amount desc ) emp1
     where rownum<=3) 
where rnum >=3   

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What types of commands can be executed in sql*plus?

1109


What is user in sql?

1027


What is cross join sql?

922


how to include comments in sql statements? : Sql dba

962


Is left join inner or outer by default?

1024


how can we optimize or increase the speed of a mysql select query? : Sql dba

949


What does fetching a cursor do?

1094


Which table is left in join?

983


What are the benefits of triggers?

1174


what is offset-fetch filter in tsql? : Transact sql

952


How do you break a loop in pl sql?

1054


Can we have two clustered index on a table?

1025


Write a sql query to get the third highest salary of an employee from employee_table?

1075


What is the difference between joins?

1045


How do I view stored procedures?

979