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

select * from (
SELECT ROWNUM as RANK, ename, sal
FROM (SELECT ename,sal FROM emp ORDER BY sal DESC)
WHERE ROWNUM <= 3)
where rank=3

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different index configurations a table can have? : Sql dba

966


How does sql*loader handles newline characters in a record? : aql loader

1012


How to execute a stored procedure?

1053


What is an inner join sql?

986


How do I save a stored procedure?

973


What is trigger and types?

988


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

999


What is sqlca in db2?

918


What is cross join example?

962


what does the t-sql command ident_current does? : Transact sql

951


What is compute?

1047


How do you select unique values in sql?

967


How do I make my sql query run faster?

912


What is sql integrity?

1099


What are pl/sql cursors?

1022