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 / karthik.k

select max(salary) as second_highest from emp where salary
< (select max(salary) from emp)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would you enter characters as hex numbers? : Sql dba

991


Is it possible for a table to have more than one foreign key?

1033


Can we use delete in merge statement?

1043


Which table is left in join?

983


Are stored procedures compiled?

932


what is offset-fetch filter in tsql? : Transact sql

955


What is t sql used for?

1018


what is auto increment? : Sql dba

1015


What is dml and ddl?

966


What is dcl in sql?

967


how to present a past time in hours, minutes and seconds? : Sql dba

1015


What does subquery mean in sql?

1058


Explain correlated query work?

1059


Which join condition can be specified using on clause?

958


How do I debug a stored procedure?

1119