SELECT _articles.*, _prix.* FROM _articles
INNER JOIN _prix ON _articles.id_article = _prix.id_article
LEFT OUTER JOIN _articles_forcingVEL AFVL ON AFVL.id_article = _articles.id_article
WHERE
(
(_articles.actif = 1 AND _prix.actif = 1)
OR
(AFVL.actif = 1 AND AFVL.PTTC > 0 )
)
AND (
_articles.reference LIKE '%patin%'
OR _prix.ref_prix LIKE '%patin%'
OR _articles.titre_fr LIKE '%patin%'
)
GROUP BY _articles.id_article
ORDER BY reference ASC
Aucun article ne correspond à votre recherche