Špatný dotaz: Unknown column 'rocnik' in 'where clause'
SELECT id,nazev,poradi,text,zkracene,url,id_kategorie,kod,datum,datum_zobrazovat FROM prispevek WHERE zobrazovat="A" AND (id_kategorie in(24-rocnik-mezinarodniho-veletrhu-fiktivnich-firem-ze-110-firem-na-14-miste-jako-�zthe-best-firm-of-the-trade-fair“) or exists(select * from prispevek_kategorie pk where pk.id_prispevek = prispevek.id and pk.id_kategorie in (24-rocnik-mezinarodniho-veletrhu-fiktivnich-firem-ze-110-firem-na-14-miste-jako-�zthe-best-firm-of-the-trade-fair“))) order by datum DESC ,id DESC