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 the second salary?

Answer Posted / vamsi krishna

For 2nd maximum salary
select Max(sal) from EMP a where 2=(select COUNT(distinct(sal)) from EMP b where a.SAL<=b.SAL);

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between lost updates and uncommitted dependencies?

1141


Explain a checkpoint?

1087


Why do we need normalization?

977


How does Report Builder support Analysis Services cubes?

158


What is a coalesce function?

1250


What are the restrictions that views have to follow?

1029


What are the different type of replication in sql server?

1015


Explain what is analysis service repository?

1049


Explain system rowset functions?

1046


Where is trigger in sql server?

1105


How do you trace the traffic hitting a sql server?

1191


Is truncate a dml command?

1000


Do you know what are various aggregate functions that are available?

1215


what are the types of indexes? : Sql server database administration

1179


What guidelines should be followed to help minimize deadlocks?

993