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 '*) as total from reviews r, reviews_description rd, products p, products_descri' at line 1
select count(distinct *) as total from reviews r, reviews_description rd, products p, products_description pd, products_to_categories p2c where p.products_status = '1' and p.products_id = r.products_id and r.reviews_id = rd.reviews_id and p.products_id = pd.products_id and p.products_id = p2c.products_id and pd.language_id = '1' and rd.languages_id = '1' and r.approved = '1' and (not (p2c.categories_id in (66,64,67,68,69,73,77,78,83,84,87,89,90,91,94,95,98,99)))
[TEP STOP]
|