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

can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com

Answer Posted / swapnl

select max(sal) from emp_det where sal not in (
select max(sal) from emp_det);

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will the writetext statement activate a trigger?

1063


What is cached report?

143


How to find out the list schema name and table name for the database?

921


What is the purpose of linked server configuration in sql server?

1020


How to create dbo table in sql server?

932


Can you get second highest salary from the table?

947


Can we take the full database backup in log shipping?

930


What are types of subqueries?

1039


Can sql servers link to other servers like oracle?

827


What are the advantages of user-defined functions over stored procedures in sql server?

1016


what's the difference between delete table and truncate table commands? : Sql server database administration

955


What are the 2 types of classifications of constraints in the sql server?

1100


how many type of indexing in database?

966


How to add code to the existing article (using improve article)?

1090


1.what is the diff between nolock optimizer and read uncommitted isolation? 2.what is the diff between revoke and deny? 3.what is percieved down time? 4.whether password protection are required for backups?if yes why?if no why? 5.what is fill factor? 6.what is cost analysis? 7.what is mean by piece meal restore? 8.what is 'rowguidcol'? 9.impersonate permission? 10.what is selectivity?

2061