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 / ravikishore
select deptno,sum(sal) from emp group by deptno having
sum(Sal) =(select max(sum(sal)) from emp group by deptno)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the conditions needed to improve the performance of informatica aggregator transformation?
What are the types of data warehouses?
SOURCE DATA IS DISPLAY IN THIS FORMATE IN TARGET . WHAT BUSINESS LOGIC WE CAN APPLY. source table target table ------------ ------------ c1 c2 c3 c1 c2 c3 -- -- -- -- -- -- 1 A J 1 2 B K 2 A 3 C L 3 B J 4 D M 4 C K 5 E N 5 E L F M N
Describe expression transformation?
What is informatica? Why do we need it?
source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.
How can we store previous session logs?
What is aggregator transformation in informatica?
What is the maplet?
What are data-driven sessions?
What are the components of the workflow manager?
What is the cumulative sum and moving sum?
How do you load unique records into one target table and duplicate records into a different target table?
What is pmcmd command?
What is the meaning of decode in informatica?