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 / amruta dash

select max(salary) from tbl where salary not in (select max
(salary) from tbl);

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain trigger classes i.e. Instead of and after trigger?

920


Explain system scalar functions?

1046


Please explain go command in sql server?

1113


What is a coalesce function?

1254


you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration

1000


What according to you is the difference between mysql and sql server performance?

1146


What are the differences between local and global temporary tables?

1135


Explain iaas, paas and saas?

92


What is difference between count (*) and count 1?

978


Why we use functions in sql server?

1133


Explain what is the main purpose of having conversation group?

992


Tell me extended events in sql server 2008?

1055


Tell me what are the essential components of sql server service broker?

991


Write a SQL query to delete a table?

1186


What are the triggers in sql?

1170