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

Ans: select distinct(a.salary) from customers a where &n =
(select count(distinct(b.salary)) from customers b where
a.salary <= b.salary);

Enter value in inputbox. If you enter 1 then it will give
highest salary

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is clause?

1158


What normalization means?

982


Can I join the same table twice?

1054


what is the different between now() and current_date()? : Sql dba

1026


What is the difference between stored procedure and view?

1020


What is the difference between partition and index?

994


how to convert character strings to numeric values? : Sql dba

1112


Explain 3 basic parts of a trigger.

1331


What are different categories of sql commands?

1135


What is set serveroutput on in pl sql?

1302


What are the different schemas objects that can be created using pl/sql?

1036


what is single byte over head in oracle..?

2407


What is interval partition?

1061


What is package in pl sql with an examples?

1041


What is asqueryable?

980