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 '-24, 24' at line 1 -> select product_id, product_related_id from product join pricelist on pricelist_product_id=product_id and pricelist_price1<>0 join catalogue on catalogue_product_id = product_id left join product_related on product_related_type=0 and product_related_recordactive=1 and product_related_product_id=product_id where product_producer_id='5439' and catalogue_index like '%|26285|%' and product_recordactive=1 and product_mandant like '%11%' group by product_id order by catalogue_order ASC LIMIT -24, 24