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='180' OR categorie='181' OR categorie='182' OR categorie='183' OR categorie='184' OR categorie='185' OR categorie='186' OR categorie='187' OR categorie='188' OR categorie='189' OR categorie='190' OR categorie='191' OR categorie='192' OR categorie='193' OR categorie='194' OR categorie='195' OR categorie='196' OR categorie='197')) AND EAN!='' AND date >= CURRENT_DATE - INTERVAL 14 DAY GROUP BY EAN ORDER BY clicks DESC LIMIT 50
Unknown column 'categorie' in 'where clause'