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=231365 and zarukaprod.id_zar=

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