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

Why we use joins in sql?

1036


Explain architecture of sql server notification services?

1114


Whis is not false in primary key?

1526


What is the best sql course?

1028


What are the most important characteristics of pl/sql?

1229


What are stored procedures used for?

1053


What are views in sql?

1037


What are the disadvantages of not performing database normalization?

1217


What is query syntax?

1020


how to calculate the difference between two dates? : Sql dba

1116


What are the types of index in sql?

1124


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

1495


What is the usage of when clause in trigger?

1091


What are the basic sql commands?

1142


What jobs use sql?

1033