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 / vinod

SELECT MAX(SAL) FROM TEST_123 WHERE SAL NOT IN (SELECT
MAX(SAL) FROM TEST_123)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is query optimization in sql?

988


what is cross join? : Sql dba

1004


What is dcl in sql?

967


Can we join more than 2 tables in sql?

1027


What is the difference between in and between in sql?

1068


Can delete statement be rollbacked?

991


What does the acronym acid stand for in database management?

1034


What is the difference between Union and Union all. Which is faster.

1405


What are hotfixes and patches?

949


How many functions are there in sql?

1042


Why cross join is used?

1084


What is sql in oracle?

1068


What do you understand by pl/sql cursors?

1092


What is scope and visibility in PL/SQL?

1210


Does access use sql?

1047