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

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

Is This Answer Correct ?    1090 Yes 131 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql constraints?

1187


What is the use of <> sql?

986


How do you bind variables in pl sql?

1107


What is 19 null in sql?

982


Explain what is a view?

1070


What is the difference between subquery and correlated query?

1072


How does sql store data?

925


What plvcmt and plvrb does in pl/sql?

1330


What are the different types of functions in sql?

1067


How to handle bulk data?

1320


How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?

1119


Which data dictionary views have the information on the triggers that are available in the database?

1250


How do you use a while loop in pl sql?

1021


How many joins in sql?

1021


How to use distinct and count in sql query? Explain

1040