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

write a query to find 4th max salary

Answer Posted / mujahid

Simple one is i think:
Select min(sal) from (select sal from emp order by sal desc LIMIT 4);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain raise_application_error.

1088


What are the different set operators available in sql?

1022


What are the two types of exceptions.

1158


How do you update a value in sql?

1038


how to use case expression? : Sql dba

1019


Explain two easy sql optimizations.

1008


Explain ttitle and btitle.

1116


What is the maximum database size for sql express?

1019


how to get a list of all tables in a database? : Sql dba

975


What is data type in database?

986


what is user defined functions? : Sql dba

1027


What is numeric function sql?

1054


Can we use views in stored procedure?

1029


What are pl sql data types?

1007


which tcp/ip port does sql server run on? : Sql dba

1023