Write a query to display Which deptno is containing highest
Sal > avg (sum (Sal)) of all deptno;


Avg (sum (Sal)) o f all deptno= 9675
Deptno, sum (Sal)
10 8750
20 10875
30 9400

Answer Posted / rakesh

select deptno, sum(sal) from emp group by deptno having sum(sal)>(select avg(sum(sal)) from emp group by deptno);

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

waht type of interface is used for testing the data in informatica

1828


What are the limitations of joiner transformation?

649


Mention a few design and development best practices for informatica?

555


Differentiate between source qualifier and filter transformation?

996


What is a predefined event?

656






I have two different source structure tables, but I want to load into single target table? How do I go about it? Explain in detail through mapping flow.

630


During the running session, output files are created by informatica server. Enlist few of them.

537


Is stop and abort are same in informatica?

568


What is the difference between informatica 7.0 and 8.0?

563


What is domain in terms of informatica?

561


What is the benefit of partitioning a session?

621


How do you load alternate records into different tables through mapping flow?

1286


Can you use flat files in Mapplets.

2215


In development project what is the process to follow for an etl developer from day1

1278


What is the use of an aggregator cache file?

683