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

There is a table with emp salary column how to get the fields belongs to the salary greater than the average salary of particular department.
Write a query

Answer Posted / ram

SELECT * FROM emp e WHERE sal > (SELECT AVG(sal) FROM emp m
WHERE e.deptno = m.deptno GROUP BY deptno) ORDER BY deptno

gives u salary greater than the average salary of their
departments...

Is This Answer Correct ?    22 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we call shell scripts from informatica?

1126


What is deployment group?

1218


Under what condition selecting sorted input in aggregator may fail the session?

1127


How is Source Side push down optimization different to just providing a SQL override in Source qualifier transformation.

1786


What is Session and Batches?

1109


what is size of u r database?

2311


What is an aggregator transformation?

1099


What are the different types of repositories created using informatica?

1143


Explain the types of lookup transformation?

1046


Can any one give me a real time example for FACT TABLE & DIMENSIONAL TABLE?

2126


Informatica settings are available in which file?

992


What is native users?

1170


What do you mean by enterprise data warehousing?

1066


What is the function of aggregator transformation?

1087


can u any challenge your project?

2034