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

select ename,sal,mgr
from emp a
where sal > (select avg(sal)
from emp b
where b.mgr = a.mgr)

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a database transaction & what all tcl statements are available in oracle?

1036


What is meant by recursive hints in oracle?

1128


What are the ways tablespaces can be managed and how do they differ?

2441


How a tablespace is related to data files?

1162


How to use "for" statements in oracle?

1120


Whats the benefit of dbms_stats over analyze?

2064


How many categories of data types?

1039


Differentiate between post-database commit and post-form commit?

1092


What is null value in oracle?

1157


How would you change old and new values in an insert, delete and update triggers?

1073


What are the various constraints used in oracle?

1093


How to retrieve values from data fields in record variables?

1169


Is there a combination of "like" and "in" in sql?

1114


How do I use unicode codesets with the weblogic jdriver for oracle driver?

1123


what is normalisation?what are its uses?

2327