Best sellers
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 '14,138,142,15,172,147,149,150,17,143,146,18,19,153,20,21,22,158,25,156,157,170,1' at line 1

select count(distinct p.products_id) as total from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_description pd, products_to_categories p2c left join specials_retail_prices s on p2c.products_id = s.products_id and s.status='1' and s.customers_group_id='0' where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '5' and p2c.categories_id not in (164,,14,138,142,15,172,147,149,150,17,143,146,18,19,153,20,21,22,158,25,156,157,170,171,32,35,36,41,43,44,61,48,49,52,53,54,55,56,60,67,37,82,83,84,85,86,87,88,89,90,91,92,93,94,38,108,109,110,111,112,113,114,115,116,117,118,119,120,39,65,68,69,70,73,74,75,76,77,78,79,80,81,57,121,122,125,58,123,124,126,59,95,96,97,98,99,100,101,102,103,104,105,106,107,47,128,169,168,140)

[TEP STOP]