select * from kcv kcv inner join az az on az.az_aa = kcv.kcv_aa and az.az_anr = kcv.kcv_anr and az.az_pos = kcv.kcv_az