DBA Data[Home] [Help]

MATERIALIZED VIEW: APPS.ISC_MAINT_002_MV

Source


select
 organization_id		organization_id
,user_defined_status_id		user_defined_status_id
,resource_id			resource_id
,department_id			department_id
,sum(hours_required)		hours_required
,sum(hours_charged)		hours_charged
,grouping_id (organization_id,department_id,resource_id,user_Defined_status_id) 
				grp_id
from ISC.ISC_MAINT_LAB_BLG_F
group by
organization_id, rollup(department_id,resource_id),rollup(user_defined_Status_id)