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

select max(salary) from emp where salary not in (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

what are the t string functions available in tsql? : Transact sql

947


What is sql prepared statement?

938


Is it possible to update views?

919


What pl/sql package consists of?

1033


What is difference between function and trigger?

971


What is a sql trace file?

978


What is the use of procedures?

926


What is the sql*loader? : aql loader

1006


What are data types in pl sql?

1077


What are the possible values that can be stored in a boolean data field?

949


Why do we go for stored procedures?

995


Can ddl statements be used in pl/sql?

1069


What are the types of queries in sql?

1016


define sql delete statement ? : Sql dba

971


how to convert character strings to numeric values? : Sql dba

1026