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 / rajesh chauhan

sql>select max(salary)from(select salary from employee where
salary not in(select max(salary)from employee))

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I access sql anywhere database?

1023


Does postgresql run on the cloud?

1223


How does a covering index work?

1012


Explain the difference between triggers and constraints?

1025


Can we use two order by clause in query?

1018


What is the purpose of primary key?

1073


What are conditional predicates?

1128


Does a primary key have to be a number?

1004


What is trigger with example?

1171


What is the default isolation level in sql server? : Transact sql

1089


what is top in tsql? : Transact sql

1172


how do you login to mysql using unix shell? : Sql dba

1130


What are the sql commands?

1232


what is cross join? : Sql dba

1053


what is row? : Sql dba

1277