Vazba
SQL vazba z tabulky rea na tabulku tle
select *
from rea rea
left outer join tle tle on tle.tle_in_1 = rea.rea_ina_zdr and tle.tle_lg_1 = rea.rea_sklad_zdr
select *
from rea rea
left outer join tle tle on tle.tle_in_1 = rea.rea_ina_zdr and tle.tle_lg_1 = rea.rea_sklad_zdr