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

How many commands are in sql?

1073


What is union, minus and interact commands?

1299


How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?

1096


What sql database should I use?

1145


What is pl sql architecture?

962


What is sql analyzer?

1025


Why are sql stored procedures used?

1057


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

1016


what is clause? : Sql dba

1064


What found sql?

945


How do I run a pl sql procedure in sql developer?

970


what are different types of collation sensitivity? : Sql dba

1067


How many rows can sqlite handle?

1115


What are sql ddl commands?

1093


What is t sql used for?

1015