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

SELECT salary FROM employee a
WHERE &n IN (SELECT COUNT(*) FROM employee b
WHERE a.salary <= b.salary)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is datawarehouse? : Sql dba

1066


how is myisam table stored? : Sql dba

1099


Does a primary key have to be a number?

1004


what happens if null values are involved in expressions? : Sql dba

1093


What are sql constraints?

1228


Why self join is used in sql?

1032


What is natural join in sql?

1045


What is an implicit commit?

1104


What is time based sql injection?

1036


how many ways to get the current time? : Sql dba

1048


What is trigger in pl sql with examples?

1082


What is the purpose of the sql select top clause?

1208


What is union, minus and interact commands?

1366


What is full form of rtm?

1056


what does the t-sql command ident_current does? : Transact sql

1048