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 / chiguru&

SELECT MAX(SALARY) FROM EMPLOYEE WHERE SALARY NOT IN
(SELECT MAX(SALARY) FROM EMPLOYEE)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get help at the sql prompt?

1111


What is trigger explain it?

1011


What is primary key and foreign key with example?

929


explain about mysql and its features. : Sql dba

1014


Does asenumerable execute the query?

1039


What is composite primary key in sql?

996


How global cursor can be declare with dynamic trigger ?

2206


What is procedure and function in sql?

997


What is sql performance tuning?

916


What is file based approach?

937


What is fmtonly in sql?

1079


How do I sort a table in sql?

1040


What is the primary use of normalization?

1000


Can a commit statement be executed as part of a trigger?

1048


Does truncate remove indexes?

1027