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 / arun ashok

Select max(salary) from employee where salary not in (select
max(salary) from employee)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is update locks?

938


I applied Transactional with updatable subscriptions replication on 2 tables now i want to delete those 2 tables but i cannot delete those tables as replication is running how can i stop replication for those 2 tables(but i don't want to delete those replicated tables but i need to stop the replication) how can i do that

2085


What stored by the msdb?

1048


Ms sql server index?

1104


Define views.

1073


how can you check the level of fragmentation on a table? : Sql server administration

1041


What is the syntax to execute the sys.dm_db_missing_index_details?

1077


How to change the name of a database user?

1013


What are the disadvantages of merge replication?

1515


What are “unrepeatable reads”?

1300


What is difference between line feed ( ) and carriage return ( )?

951


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

1184


Do you know what is a linked server in sql server?

1071


What new changes are being made in SQL Server?

1272


What is sql profiler. What are the default templates with it? : sql server database administration

1109