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 / kavitha

select max(salary) from tablename where salary not in(select
max(salary) from tablename )

or


select max(salary) from tablename where salary <(select
max(salary) from tablename )

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write an sql query to find first weekday of the month?

867


What is the default order of an order by clause?

946


Explain what are commit and rollback in sql?

867


IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do

1758


List down some advantages of sql stored procedure?

906


Explain about merge replications?

967


what are the critical issues you have resloved in your company

1920


How do I port a number to sql server?

983


What is log in sql server?

1078


what is the Ticketing tool used in Wipro technologies at Bangalore...???

8109


Write a sql query to delete duplicate records from a table called table1

975


You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?

897


When setting replication, is it possible to have a publisher as 64 bit sql server and distributor or subscribers as a 32 bit sql server?

895


as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

915


What is the purpose of grouping data in a report?

908