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

Display those managers salary greater than the average
salary of his employees?(Based on oracle standard Emp table)

Answer Posted / sehajshangari1235

select distinct m.ename from emp e,emp m
where m.sal>(select avg(e.sal) from emp e,emp m where
e.mgr=m.empno);


call back for more
7204719446

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to view the tablespaces in the current database?

978


How to name query output columns in oracle?

1187


Where do we use decode and case statements?

1013


Difference between cartesian join and cross join?

1046


Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?

1019


What is truncate oracle?

971


Can we commit inside a function in oracle?

966


How to update values on multiple rows in oracle?

1034


How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

3200


How to create a new view in oracle?

1078


How to get last row id?

994


What is the usage of analyze command in oracle?

1093


How to filter out duplications in the returning rows using oracle?

1018


How to insert multiple rows with one insert statement in oracle?

1087


How to call a stored function in oracle?

1018