Informacje o produkcie
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 ') where p.products_status = '1' and p.manufacturers_id = '2' ORDER BY final_pric' at line 1

select distinct p.products_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) where p.products_status = '1' and p.manufacturers_id = '2' ORDER BY final_price

[TEP STOP]