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

What are different clauses used in sql?

1072


How many functions are there in sql?

962


What are the types of index in sql?

1015


Explain the the update statement in sql?

987


How do you clear the screen in sql?

1010


How many sectors are in a partition?

1031


Does mysql_real_escape_string prevent sql injection?

907


How does cross join work in sql?

956


What's the difference between a primary key and a clustered index?

946


What is data modelling in sql?

962


Show the two pl/sql cursor exceptions.

1104


what is 'mysqlimport'? : Sql dba

974


What is difference between mysql and postgresql?

1043


What is dynamic sql in pl sql?

982


What is sql partition function?

1117