Erreur SQL !
SELECT SUM(clicks) as clicks, EAN, COUNT(*) as offres, MIN(t1.price) as bestprice, (SELECT product_name FROM flow WHERE EAN = t1.EAN ORDER BY clicks DESC LIMIT 1) AS nom FROM `flow` as t1 WHERE (product_name LIKE '%%' AND (categorie='5' OR categorie='7' OR categorie='13' OR categorie='14' OR categorie='15' OR categorie='16' OR categorie='47' OR categorie='68' OR categorie='70' OR categorie='71' OR categorie='72' OR categorie='73' OR categorie='74' OR categorie='75')) AND EAN!='' AND date >= CURRENT_DATE - INTERVAL 14 DAY GROUP BY EAN ORDER BY clicks DESC LIMIT 50
Unknown column 'categorie' in 'where clause'