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
what is mean by complex business rule ?
Explain the different kinds of facts.
What is the benefit of session partitioning?
What are the components of the workflow manager?
Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar usa 20 kumar Tokyo I want records in target like shown below No name addr1 addr2 10 manoj mum dilhi 20 kumar usa Tokyo If it is reverse we can do this by using Normalizer transformation by setting occurance as 2. Somebody will say use denoralization technique. But as of my knowledge I couldn’t find any denormalization technique. Is there any concept like that? I tryid this seriously but I could find any idea to implement this. Can any one please help me ? Advance Thanks
what is the size of your data warehousing?
In how many ways we can create ports?
What are multi-group transformations?
What are the guidelines to be followed while using union transformation?
Explain where to store informatica rejected data? How to extract the informatica rejected data?
What the difference is between a database, a data warehouse and a data mart?
What is union transformation in informatica?
Calculate sum of salaries department wise. Then the sum will be repeat for all columns in each department. Develop a mapping for this.
What is a code page?
Explain dynamic target flat file name generation in informatica