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

find 2nd highest salary of person using cursor concept?

Answer Posted / krish

select max(sal) frem tbl where sal <(select max(sal) from tbl;

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is sql profiler?

997


What is 2nf normalization?

982


What is the difference between clustered and a non-clustered index?

998


Write the syntax for stuff function in an sql server?

998


What does it mean to normalize a database and why would you do it?

956


can an automatic recovery be initiated by a user? : Sql server administration

920


Why I have to use stored procedures?

995


How to defragment table indexes?

948


How to use union to merge outputs from two queries together in ms sql server?

1027


What are database states in ms sql server?

1135


Define cross join in sql server joins?

982


How to receive output values from stored procedures?

1090


what are database files and filegroups? : Sql server database administration

908


Can we deploy SSRS reports on our personal website?

168


What is format parameter in ssrs?

140