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 / pankaj raj patel

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

What is exception? What are the types of exceptions?

1073


what is index? : Sql dba

1009


What are aggregate functions in sql?

1166


What is on delete set null?

1092


What is sql partition function?

1215


How many sql are there?

1004


Where is pl sql used?

957


What pl/sql package consists of?

1088


What is the purpose of the partition table?

1049


What is time based sql injection?

963


How do I run a sql trace?

963


What does where 1 1 mean in sql?

1045


Why cross join is used?

1083


how do you tune the slow running queries in oracle db , explain the methodology

2813


What is int identity in sql?

1146