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 ') AND data_db <= '2021-09-23 02:39:04' ORDER BY data_db DESC, id DESC LIMIT 0,6' at line 1