WordPress 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 post_date DESC' at line 5]
SELECT * FROM wp_posts WHERE post_status = 'publish' AND id = ORDER BY post_date DESC

WordPress 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 post_date DESC' at line 6]
SELECT * FROM wp_comments c JOIN wp_posts p on p.id = c.comment_post_id WHERE comment_approved = '1' AND p.id = ORDER BY post_date DESC