Vazba
SQL vazba z tabulky T1DOCHK na tabulku TABMG
select *
from T1DOCHK t1dochk
left outer join TABMG tabmg on tabmg.idpk = t1dochk.mzdovy_kod