Hi, I'm having a little problem with and outer join (and I can't get TGML to work either). It's the one that I tried to highlight below.
SELECT trim(foc.code_name), trim(bc.code_name), TRIM(pt.code_name)
, trim(pu.code_name)
, SUBSTR(a.st_fcly_cde,3,2) AS st_fcly_cde
...