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 / sujit pingale

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

It will ask you to enter number in input box which salary
you want to see

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of triggers?

1180


When do we use triggers?

1145


What is a mutating table and a constraining table?

1178


What is right join in sql?

1152


Is left join same as join?

1035


how do you control the max size of a heap table? : Sql dba

1022


What is crud diagram?

993


What is the primary key?

1000


What is the main difference between sql and pl/sql?

1148


What are the types of sql commands?

1156


what are tables and fields? : Sql dba

1103


What is the default isolation level in sql server? : Transact sql

1080


explain normalization concept? : Sql dba

1088


Can we write ddl statements in functions?

1182


what are the advantages and disadvantages of cascading style sheets? : Sql dba

1103