Sports et Loisirs

Erreur SQL !
SELECT n.* ,t.theme,c.category,p.place
FROM news_gene_ok AS n
LEFT OUTER JOIN annu_theme AS t ON (n.id_theme=t.id_unique)
LEFT OUTER JOIN annu_category AS c ON (n.id_category=c.id_unique)
LEFT OUTER JOIN annu_places_ok AS p ON (n.id_place=p.id_unique)
WHERE id_place =1
AND n.valid LIKE 'ok' AND n.display NOT LIKE 'off'
AND (date_par <= '2024-09-01 04:46' OR date_par='0000-00-00 00:00') AND (date_for >= '2024-09-01 04:46' OR date_for='0000-00-00 00:00') AND n.id_theme=24 ORDER BY rank ASC LIMIT 100
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC LIMIT 100' at line 8