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 is integrity in sql?

1040


What is the difference between joins?

1037


What is union, minus and interact commands?

1288


Why we use join in sql?

964


What is a sql driver?

995


How do I run a pl sql program?

1127


What is trigger in sql?

1095


Define tables and fields in a database

1126


Does a primary key have to be a number?

963


what is a unique key ? : Sql dba

1089


How do I find duplicates in sql?

929


Why do we create stored procedures & functions in pl/sql and how are they different?

944


How do you rename a table in sql?

1103


What will you get by the cursor attribute sql%rowcount?

1034


What type of database is cloud sql?

1095