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

select max(salary ) from emp table where sal<(select max
(salary)from emp table)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the update statement in sql

981


What is duration in sql profiler trace?

1076


How many disk partitions should I have?

984


How can you know that statistics should be updated?

1075


Does sql full backup truncate logs?

1012


How to combine two stored procedures in sql?

1221


What are different types of indexes?

1004


What is the difference between a subquery and a join?

1094


what are wild cards used in database for pattern matching ? : Sql dba

1137


what are the types of subquery? : Sql dba

1100


What are the benefits of pl/sql packages?

1105


Lookups are a key component in sql server integration services (ssis). Explain its purpose?

997


tell me about various levels of constraint. : Sql dba

1031


Why is there a need for sqlcode and sqlerrm variables?

1046


When sql appeared?

1086