SUPER POPUSTI
AKCIJE
BEBE I DJECA
IMUNITET
DERMOKOZMETIKA
ZDRAVA HRANA
1+1 GRATIS
2+1 I PROMO
BRANDOVI
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 'select s.specials_date_added, s.expires_date, p.products_id, p.products_imag...' at line 1
select count(p.products_id) as total select s.specials_date_added, s.expires_date, p.products_id, p.products_image, p.products_tax_class_id, p.onebyone,
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, p.products_price,
pd.products_name
from products p
left join specials s on p.products_id = s.products_id
left join products_description pd on p.products_id = pd.products_id
where p.only4members = 'Y'
[TEP STOP]