select * from ze ze inner join ag ag on ag.ag_aa = ze.ze_aa and ag.ag_anr = ze.ze_anr and ag.ag_az = ze.ze_az and ag.ag_pos = ze.ze_ag