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 / chandra sekhar

SELECT * FROM EMP e
where 3=(select count(*) from emp
where e.sal<=sal)

Using this correlated subquery we can easily get any one

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the possible values that can be stored in a boolean data field?

1040


What are the different types of joins in sql?

1900


how to use regular expression in pattern match conditions? : Sql dba

1085


How is debugging done?

1020


Does inner join return duplicate rows?

1036


Which data type is a composite type?

1035


What is difference between sql function and stored procedure?

1055


What is the difference between cluster and non-cluster index?

1154


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

1089


Which type of cursor is used to execute the dml statement?

993


Explian rowid, rownum? What are the psoducolumns we have?

1045


How long does it take to learn pl sql?

1103


What is the usage of sql functions?

1198


What is sql procedures and functions?

1071


What is a unique key?

1103