select * from employee
UNIT_ID PARENT_UNIT TOT_EMP
------- ----------- -------
Oracle IT 10
SAP IT 20
IT PST 30
HRGA FA 5
FA PST 12
出力を次のように取得する方法:
IT 60
ORACLE 10
SAP 20
HRGA 5
FA 17