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 retrieve 5th highest sal from emp table?

Answer Posted / aryasen vaikom

SELECT DISTINCT (a.sal)
FROM EMP A
WHERE 5= ( SELECT COUNT (DISTINCT (b.sal))
FROM EMP B
WHERE a.sal<=b.sal )

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways tablespaces can be managed and how do they differ?

2368


How to omit columns with default values in insert statement in oracle?

1046


What query tells you how much space a tablespace named test is taking up, and how much space is remaining?

2275


What is logical backup in oracle?

1018


What is raw datatype?

1136


Why is oracle so popular?

998


How to start your 10g xe server from command line?

1073


I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

2461


How to check your oracle database 10g xe installation?

988


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

2970


What is the difference between sharding and partitioning?

986


How to load data from external tables to regular tables?

1062


How can we find out the current date and time in oracle?

1090


How to do paging with oracle?

999


How to add a new column to an existing table with a default value?

1016