select * from ZOM_ODB_ZME zom_odb_zme left outer join ZSML zsml on zsml.idpk = zom_odb_zme.cis_sml_stare