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 is granularity,what type of granularity we will take in fact tables either lowlevel or highlevel,if two tables having same granularity that is posiable or not
How to go to the older version for a mapping?
How many ways are there to do 'remove duplicate records in informatica'?
What are the prerequisite tasks to achieve the session partition?
server hot-ws270 is connect to Repository B. What does it mean?
How to do unit testing in informatica? How to load data in informatica ?
What all are steps in up gradation of Informatica server?
Explain joiner transformation in informatica
Define update strategy?
Explain pmcmd command usage in informatica
What is the difference between SOURCE and TARGET BASED COMMITS? What are the deliverables?in your project?
What is the sql query overwrite in source qualifier in informatica
Explain the code page compatibility?
Can any one give me a real time example for FACT TABLE & DIMENSIONAL TABLE?
Explain in detail about scd type 1 through mapping.