SELECT AD.ACEMODELID , ACCM.ACECOLLNAME , PF.PNLNAME , AD.ACEDIMNAME , PFL.LANGUAGE_CD , PF.LBLTEXT FROM PSACEDIM AD , PSACECUBECOLL ACC , PSACECUBECOLMAP ACCM , PSPNLFIELD PF LEFT OUTER JOIN PSPNLFIELD PFR ON PF.PNLNAME = PFR.PNLNAME AND PF.FIELDNUM = PFR.ASSOCFIELDNUM + 1 AND PFR.OCCURSLEVEL = 1 , PSPNLFIELDLANG PFL WHERE AD.ACEMODELID = ACC.ACEMODELID AND ACC.ACEMODELID = ACCM.ACEMODELID AND ACC.ACECOLLNAME = ACCM.ACECOLLNAME AND AD.ACEDIMNAME = ACCM.ACEPARTNAME AND ACCM.ACEISCUBE = 'N' AND ACC.RECORDNAME = PF.RECNAME AND ACCM.FIELDNAME = PF.FIELDNAME AND PF.OCCURSLEVEL = 1 AND PF.PNLNAME = PFL.PNLNAME AND PF.PNLFLDID = PFL.PNLFLDID
|