我不是很清除你前面说的。你为什么不用这样一个表直接搞定呢?:P
create table sales_report_t(
    type char(4),
    dept_id number,
    count   number
)