* OR-SYSTEM Open
select * from T1DOCHK t1dochk left outer join TABMG tabmg on tabmg.idpk = t1dochk.mzdovy_kod