Consider an Employee table with columns employee id , employee name, salary, department name and department number.
We need to find “count” of the aggregate function, say sum of salary, grouped by department name and employee name !!!
The following query
"Select count(sum(salary)) from employee where ....(some condition) group by department name, employee name".
fails in IBM iseries navigator . Also I tried with inline views, sub queries, etc. ;but in vain;