Chyba pocas behu aplikacie: 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 'WHERE product_recordactive = 1 and product_mandant_id=2 and product_language_id=' at line 1 v select: SELECT product_id FROM product_grid JOIN catalogue on catalogue_product_id=product_id and catalogue_recordactive=1 and catalogue_parent_id= WHERE product_recordactive = 1 and product_mandant_id=2 and product_language_id=1 and product_lcurrency_id=1