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...

Please get the 4 th maximum salary from a table without
using any sql keyword (TOP,MAX are mot allowed)

Answer Posted / v rajkumar

select salary from Emp a where 4 = (select count(distinct
(salary)) from Emp b where b.salary>= a.salary)

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Join and explain its types?

1045


Why do we backup Active Directory ?

995


How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?

2529


Can you insert NULL in unique column?

1093


How to select true false based on column value in sql server?

950


Explain what are the authentication modes in sql server?

943


How you can find out if an index is useful to the optimizer?

870


Difference between DELETE and TRUNCATE?

1001


Explain “row_number()” in sql server with an example?

947


What is the Control Flow in SSIS

1031


What is a ddl statement?

851


Why we need to use secondry database file? though, we can do same work using primary database file also.

6750


What is nolock?

926


What are the different types of join?

1099


Explain atomicity?

971