Vazba
SQL vazba z tabulky ap na tabulku ma
select *
from ap ap
left outer join ma ma on ma.ma_nr = ap.ap_mag