select * from C0CESTY3 c0cesty3 left outer join C0CESTY2 c0cesty2 on c0cesty2.idpk = c0cesty3.idpk_cesty2