select * from O0ZAZNAMY o0zaznamy inner join O0FIELDS o0fields on o0fields.idpk = o0zaznamy.id_fieldu