My Favorite List

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by favorite_date DESC' at line 1]
SELECT post_id FROM wp_favorite where user_id = order by favorite_date DESC