Erro: -420 Database Error

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 `creationdate` DESC, id desc
limit 0,1' at line 4

select `id`, `tags`, `picture`, `alias`, `title`, `memo`, `videoid`, `fulltext`, `creationdate`
from pages
where `typeid` = 1 and `siteid` = 1 and `inactive` = 0 and `authortabledefid` = 9 and parentid = 3 and id<
order by `creationdate` DESC, id desc
limit 0,1