|
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 '-20, 20' at line 1
select pstc.products_stock_description_small, pstc.products_stock_image, pd.products_name, m.manufacturers_name, pst.products_stock_id, pstc.sort_order, p.products_image, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products p left join specials s on p.products_id = s.products_id, products_description pd, manufacturers m, products_to_categories p2c, products_stock pst, products_stock_categories pstc where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '4' and p2c.categories_id = '6026' and pst.products_id = p.products_id and pstc.products_stock_id = pst.products_stock_id order by pstc.sort_order asc, pd.products_name asc limit -20, 20
[TEP STOP]
|