select * from PPAPPS_POL ppapps_pol left outer join OKRPAP okrpap on okrpap.idpk = ppapps_pol.idpk_okrpap