select (select g.org_name from t_sys_org g where g.org_id = n.org_id) org_name,node
(select g.ccms_origin_id from t_sys_org g where g.org_id = n.org_id) ccms_origin_id,it
(select g.org_type from t_sys_org g where g.org_id = n.org_id) datatypeio
from t_sys_org_node nselect
start with n.org_id incms
(select org_id from t_sys_org o where o.ccms_origin_id = '19')co
connect by prior n.node_id = n.parent_node_iddata