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 / mona thakur

SELECT *
FROM emp
WHERE salary < (
SELECT max( salary )
FROM emp )
ORDER BY salary DESC
LIMIT 1

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the set operators in sql?

1027


How to fix oracle error ora-00942: table or view does not exist

954


What is rowid in sql?

905


What is basic structure of pl sql?

984


What are all the common sql functions?

968


what's the difference between a primary key and a unique key? : Sql dba

970


What are the three pl sql block types?

945


How to start oracle sql developer?

983


Is null operator in sql?

978


What problem one might face while writing log information to a data-base table in pl/sql?

1065


What is the process of debugging?

1000


How do you declare a constant?

909


What is sql profiling in oracle?

993


What are the different set operators available in sql?

972


How do I view tables in mysql?

913