select * from AS arpi, ofac_articles AS ar , ofac_articles_lang AS arlg where arpi.id_article=ar.id_article and ar.id_article=arlg.id_article and arlg.id_lang='FR' and arpi.id_pilote='75' ORDER BY ar.date_creation DESC 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 'AS arpi, ofac_articles AS ar , ofac_articles_lang AS arlg where arpi.id_article' at line 1