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

select Max(salary) from test where salary not in(select Max
(salary) from test);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are local and global Indexes and where they are useful.

1440


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

1115


What is the use of stored procedures?

1044


Can we insert in sql function?

1081


How to rename a table?

1012


what is 'mysqladmin' in mysql? : Sql dba

1024


How do I start pl sql?

946


Can a composite key be null?

974


What is rank dense_rank and partition in sql?

1030


Why do we use %rowtype & %type in plsql?

1046


How do I kill a query in postgresql?

1112


What is a constraint?

1020


how to convert dates to character strings? : Sql dba

1166


What is join view in sql?

944


What are sql indexes?

997