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...

find out the second highest salary?

Answer Posted / ananth

this is for 2nd highest sal in sql server database

select * from emp where sal=(select max(sal) from emp where
sal<(select max(sal) from emp))

Is This Answer Correct ?    119 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to delete an existing row from a table in oracle?

1070


Use of an integrity constraint is better to validate data. Explain

1040


What is meant by raw datatype?

1060


What happens to the current transaction if the session is killed?

988


How to load data through external tables?

1135


How to return top 5 rows in oracle?

1062


How to name query output columns in oracle?

1187


Explain about your project and its relation to the current job position you are applying to?

1004


How to apply filtering criteria at group level in oracle?

1042


hello friends Im doing my final year engineering in B.Tech.. one of uncle said he can provide job in his company if im good in database management. but i have only basic knowledge about database, so like to join database management course in good intuition. so friends kindly help me to get good intuition because its my future.

2261


Explain the use of tables option in exp command.

1115


how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

2555


What are a query and state the different types of queries and their uses?

1015


How to define a procedure inside another procedure?

1022


What is an oracle table?

988