select * from kco kco inner join az az on az.az_aa = kco.kco_aa and az.az_anr = kco.kco_anr and az.az_pos = kco.kco_az