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
What is dynamic cache?
Debugger what are the modules, what are the options you can specify when using debugger, can you change the expression condition dynamically when the debugger is running.
in reporting we add some new objects,how we get the count of the newly added objects to the report
How can we store previous session logs?
What is rank transform?
Which transformation should we use to normalise the COBOL and relational sources?
differences between service based and product based?
I have 100 records in source table, but I want to load 1, 5,10,15,20…..100 into target table. How can I do this? Explain in detailed mapping flow.
In informatica workflow manager, how many repositories can be created?
The question was on time stamp. what is the difference between HH and HH24 when to use when.
How we can use union transformation?
What are the components of workflow manager?
Clarify the aggregator change?
What is the advantage of informatica?
Different sorts of metadata that stores in the storage facility?