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

select max(sal) from emp where sal<any(select max(sal) from
emp)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many row comparison operators are used while working with a subquery?

1030


How to pipe multiline string to isql?

1007


How do you run a query?

990


what is the difference between myisam static and myisam dynamic? : Sql dba

1066


How do I run a sql trace?

960


Why use stored procedures?

1094


Compare sql & pl/sql

1142


What is replication id?

938


What are different types of statements supported by sql?

1165


What is the largest value that can be stored in a byte data field?

1012


Where is pl sql used?

954


what are the different type of normalization? : Sql dba

1027


What is sql performance tuning?

921


what is heap table? : Sql dba

1106


What is primary key in db?

1011