there was an error in the code when we have multiple records in region table for each type
try this
select region_id,type_id,ltrim(sys_connect_by_path( TYPE_NAME, ',' ),',') region_type,ltrim(sys_connect_by_path(REGION_NAME , ',' ),',') from region_type a, regions b where a.type_id=b.region_type_id
start with REGION_PARENT_ID is null
connect by prior REGION_ID = REGION_PARENT_ID;