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 / moorthy g
select deptno, max(sal) from emp group by deptno
having max(sal)> (select avg(max(sal)) from emp group by
deptno);
Output:
DEPTNO MAX(SAL)
---------- ----------
10 5000
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sorter transformation?
What are mapplets?
What is the benefit of session partitioning?
Where is metadata stored?
what are the different types of transformation available in informatica. And what are the mostly used ones among them?
COL1,COL2 ABC,1 XYZ,2 HERE IN COL2 VALUES 1,2 NOT STSANDARD(IE MEANS NOT FIXED VALUES LIKE OTHER SOME VALUES LIKE 10,20) O/P IS COL1,COL2 ABC,2 XYZ,1
Which transformation should we use to normalise the COBOL and relational sources?
What is informatica worklet?
How to generate sequence numbers using expression transformation?
What is dynamic cache?
What is a predefined event?
What is the status code in stored procedure transformation?
What is an aggregator transformation?
How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?
hi real timers . iam waiting for ur reply regarding ETL TESTING