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 / abhishek kundu

SELECT MAX(SALARY) FROM EMP
WHERE SALARY<(SELECT MAX(SALARY) FROM EXP);

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

tell us something about heap tables. : Sql dba

1049


What are the types of queries in sql?

1016


what are the authentication modes in sql server? : Sql dba

1000


What is difference between hql and native sql?

1093


What is the least restrictive isolation level? : Transact sql

998


What are stored procedures in mysql?

971


How do I clear the screen in sql plus?

984


when MSQL8.0 is in market

2016


What has stored procedures in sql?

996


What is a Mapplet?

1057


What are character functions?

1042


explain commit and rollback in mysql : sql dba

941


What is assignment operator in pl sql?

970


Write a sql query to get the third highest salary of an employee from employee_table?

1029


What version is sql?

966