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 highest salary from emp table?

Answer Posted / vinay

It works gr8...

select max(salary) from <table_name> where salary<(select
max(salary)from <table_name>)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sql statement is used to delete data from a database?

1010


What is string data type in sql?

1218


Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql

1047


Why do we use procedures?

1007


What is synchronized subquery?

1222


What is difference between sql function and stored procedure?

1063


What is the difference between left and left outer join?

994


Can you selectively load only those records that you need? : aql loader

1096


What are the three forms of normalization?

1093


When should I use nosql database?

1059


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2070


what is a composite primary key ? : Sql dba

1095


what is a record in a database ? : Sql dba

1105


Why do we need view in sql?

1039


What are the two types of cursors in pl sql?

1126