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

Can you use flat files in Mapplets.

2663


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

2137


What is a shortcut and copy in Informatica and how two are different with each other?

1208


What are the different components of powercenter?

1063


What are the mapping parameters and mapping variables?

1211


how many types of dimensions are available in informatica?

1112


Describe data concatenation?

1089


I have three same source structure tables. But, I want to load into single target table. How do I do this? Explain in detail through mapping flow.

1292


What is the difference between source qualifier transformations source filter to filter transformation?

1062


Clarify the aggregator change?

1036


Explain pushdown optimization and types in informatica

1087


How do you convert single row from source into three rows into target?

1172


How can we use mapping variables in informatica? Where do we use them?

1214


Which transformation is needed while using the Cobol sources as source definitions?

1181


explain abt ur project architecture?

2202