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 / gaurav singh 'viccky'

select salary from user=(select max(salary)from user where
salary < (select max(salary)from user))

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a primary key? : Sql dba

1088


what is the difference between delete and truncate statement in sql? : Sql dba

1349


How does join work in sql?

1054


how to dump a table to a file with 'mysqldump'? : Sql dba

1103


How to handle bulk data?

1368


Can a foreign key have a different name?

999


what is the use of double ampersand (&&) in sql queries?

1232


What are analytic functions in sql?

1074


How do you change a value in sql?

1069


What are the types of triggers in sql?

1144


how to select unique records from a table? : Sql dba

1176


How to pronounce postgresql?

1099


Which is better join or subquery?

1192


Is sql a microsoft product?

997


What is t sql in sql server?

1132