Vazba
SQL vazba z tabulky ag na tabulku az
select *
from ag ag
inner join az az on az.az_aa = ag.ag_aa and az.az_anr = ag.ag_anr and az.az_pos = ag.ag_az
select *
from ag ag
inner join az az on az.az_aa = ag.ag_aa and az.az_anr = ag.ag_anr and az.az_pos = ag.ag_az