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

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

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of consistent option in exp command.

1070


What is meant by joins? List out the types of joins.

1031


How to get execution path reports on query statements?

989


What is logical backup in oracle?

1018


How to create a new oracle data file?

1033


What are the attributes that are found in a cursor?

1079


What is oracle rowcount?

1089


What are the logical operations?

1126


What is the disadvantage of User defind function?

2295


What is a trigger and what are its types?

1231


Please explain oracle data types with examples?

1075


Is rowid unique in oracle?

1001


Explain oracle instance.

1181


What is a relational database management system?

1121


How to define an explicit cursor in oracle?

1040