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 / ankit khanijau

Select salary from emp
where MAX(Select salary from emp where salary != MAX(salary))

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to see the create table statement of an existing table? : Sql dba

1004


what is cross join? : Sql dba

992


explain normalization concept? : Sql dba

1043


What are the different types of dbms?

1006


What is normalization? How many normalization forms are there?

1080


What is the advantage of index in sql?

966


Why stored procedure is faster than query?

1050


How do you pronounce sql?

1003


What does seeding a database mean?

952


How do you modify a trigger?

920


How do I add a database to sql?

1121


What is indexing in sql and its types?

1076


What is the difference between instead of trigger and after trigger?

1006


What is a subquery in sql?

1035


What is crud diagram?

939