Ocorreu um erro no banco de dados

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 `id` desc LIMIT 3' at line 5

SELECT * FROM (`tidings`) WHERE `editorial_id` IS NULL AND `id` <> ORDER BY `id` desc LIMIT 3

Filename: /home/storage2/8/6b/3a/nazareno6/public_html/models/tiding.php

Line Number: 43