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

SELECT MAX(SALARY) FROM TABLENAME WHERE SALARY<(SELECT
MAX(SALARY) FROM TABLE NAME

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how tsql statements can be written and submitted to the database engine? : Transact sql

1037


what is view? : Sql dba

1029


What is the difference between row level and statement level trigger?

1072


What are all the common sql functions?

1084


What is the maximum number of rows in sql table?

1079


what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql

1008


How can I change database name in sql?

1157


How to return an array from java to pl/sql?

1181


Why do we create views in sql?

1218


What is the difference between nvl function, ifnull function, and isnull function?

1154


what is query cache in mysql? : Sql dba

1081


how to rename an existing table in mysql? : Sql dba

1116


What are tuples in sql?

1199


what is data control language? : Sql dba

1068


what are the features and advantages of object-oriented programming? : Sql dba

1073