PB : select * from pgiArticle where categorie LIKE '%/230/%' and ( amp;fieldspec4 = '2020-06-30' ) and Flag_censure=1 order by position, fieldspec2, fr_designation : 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 ';fieldspec4 = '2020-06-30' ) and Flag_censure=1 order by position, fieldspec2, ' at line 1