Interní chyba systému

SELECT produkt.cena,produkt.nazev,vyrobce.nazev AS vyrobce, zarukaprod.nazev AS zaruka, zarukaprod.cena as zarukacena FROM vyrobce,produkt,zarukaprod WHERE produkt.id_vyr=vyrobce.id_vyr AND produkt.id_pro=231266 and zarukaprod.id_zar=

Error 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1