1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and products_name like 'Carnival%2' ...' at line 9

select products_description, annee_prod1, annee_prod2 from products_description INNER JOIN param_jantes pj ON products_description.products_id = pj.products_id INNER JOIN products_jantes_to_suppliers_stocks_ref on ((pj.reference = products_jantes_to_suppliers_stocks_ref.reference) OR (pj.reference = REPLACE(products_jantes_to_suppliers_stocks_ref.reference, "FI-", "FS-"))) INNER JOIN param_diametre ON pj.dimensions_jantes_2 = param_diametre.param_diametre_valeur where bln_galette = 0 and param_diametre_valeur = and products_name like 'Carnival%2' group by products_description

[TEP STOP]