SELECT DISTINCT A.SETID , %Upper(A.PARENT_LBL) ,B.LANGUAGE_CD , B.PARENT_LBL FROM PS_RC_RELATION_TBL A , PS_RC_RELATION_LNG B WHERE A.SETID = B.SETID AND A.RELATIONSHIP_TYPE = B.RELATIONSHIP_TYPE AND A.PARENT_LBL <> ' ' UNION SELECT DISTINCT C.SETID , %Upper(C.child_LBL) ,D.LANGUAGE_CD ,D.child_LBL FROM PS_RC_RELATION_TBL C , PS_RC_RELATION_LNG D WHERE C.SETID = D.SETID AND C.RELATIONSHIP_TYPE = D.RELATIONSHIP_TYPE AND C.child_LBL <> ' ' UNION SELECT DISTINCT E.SETID , %Upper(E.equivalent_LBL) ,F.LANGUAGE_CD ,F.equivalent_LBL FROM PS_RC_RELATION_TBL E , PS_RC_RELATION_LNG F WHERE E.SETID = F.SETID AND E.RELATIONSHIP_TYPE = F.RELATIONSHIP_TYPE AND E.equivalent_LBL <> ' '
|