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 find only %th Highest Sal

Answer Posted / ajit

select *
from emp
where sal = ( select max(sal)
from emp
where level = &n
connect by prior sal > sal
group by level);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is procedure function?

1054


What is scalar data type in pl sql?

1068


What is coalesce sql?

997


How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?

1134


What is difference between rank () row_number () and dense_rank () in sql?

1101


Explain polymorphism in pl/sql.

1119


How many types of tables are there?

950


What is difference between nchar and nvarchar?

1026


Is delete faster than truncate?

1002


How do we use distinct statement? What is its use?

1030


What is the difference between sql and mysql?

1117


Is null operator in sql?

1034


What are some emotional triggers?

985


Why triggers are used?

987


Does truncate require commit?

971