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

Sql technical questions

1284


What is sql scripting?

1124


what is primary key? : Sql dba

1032


How do you optimize a stored procedure in sql?

960


What is the difference between the repeatable read and serializable isolation levels? : Transact sql

1107


How do I tune a sql query?

978


What is clause?

1156


How do you break a loop in pl sql?

1054


What is secondary key?

935


Why do we need sharding?

997


What is a unique key and primary key and foreign key?

969


Why we use pl sql?

963


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

1002


Can we create index on primary key?

973


what are the differences between char and nchar? : Sql dba

1115