SELECT produits.id as id ,produits.nom as nom,produits.arbo as arbo FROM produits INNER JOIN champ_opt ON produits.id = champ_opt.id_l AND champ_opt.id_cgen=17 AND val_c > 0 AND table_l ="produits" GROUP BY produits.id ORDER BY champ_opt.val_c DESC LIMIT 6
Got error 28 from storage engine