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 / amarendra swain

select max(sal) from employee
where sal not in (select max(sal) from employee )

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 oracle and pl sql?

1116


What is a temporal table?

923


What is record type in pl sql?

984


Is sqlite thread safe?

1040


How to display Row Number with Records in Oracle SQL Plus?

1043


What is the use of desc in sql?

973


What are some predefined exceptions in pl/sql?

1164


Which function is used to return remainder in a division operator in sql?

1134


How do you declare a user-defined exception?

1022


What are sql*plus environment variables?

1093


Whis is not false in primary key?

1450


Why cross join is used?

1074


What is attribute indicator in pl sql?

1009


What is java sql drivermanager?

1081


How do you explain an index?

1280