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 to change the order of columns in Oracle SQL Plus ?

1101


Define sql delete statement.

1063


What are crud methods?

1082


What are the parts of a sql statement?

1141


Where are my tempfiles, I don't see them in v$datafile or dba_data_file?

1052


Can we insert data into view?

948


How do you change a value in sql?

1064


What is composite data type in pl sql?

1166


What is a trigger in sql?

1233


how to shutdown mysql server? : Sql dba

1144


What is varchar example?

1080


Does db2 use sql?

1009


how many triggers are allowed in mysql table? : Sql dba

1102


List the ways to get the count of records in a table?

941


What is schema in sql?

998