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

select * from (select *,row_number()over (order by salary
asc)as a from Employee)as b where b.a=4

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is blocking? : Sql server database administration

1084


How to include text values in sql statements?

1094


Why it is recommended to avoid referencing a floating point column in the where clause?

1008


How do I find the size of a sql server database?

978


What are the different editions available in sql server 2000?

1109


To automatically record the time on which the data was modified in a table, which data type should you choose for the column?

1003


What are the disadvantages of merge replication?

1511


How to modify existing triggers using "alter trigger"?

1062


What is the difference between for trigger and after trigger?

1156


Explain system rowset functions?

1042


How to create and drop temp table in sql server?

1098


How does normalization work?

970


What are the types of database recovery models?

1184


How to insert data with null values?

1078


as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

1016