A Database Error Occurred

Error Number: 1064

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 'ORDER BY DATE_PUB DESC' at line 1

SELECT DESCRIPTION_PUB AS DESCR, TITRE_PUB AS TITRE, DATE_PUB, PATH_PUB FROM publication join categorie_pub on categorie_pub.ID_CATEGORIE_PUB=publication.ID_CATEGORIE_PUB WHERE publication.ID_CATEGORIE_PUB = ORDER BY DATE_PUB DESC

Filename: models/Model.php

Line Number: 1479