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 'like '%\xE9\xB8\xBD\xE5\xAD\x90\xE5\x85\xA8\xE6\x98\x8E\xE6\x98\x9F%' and to_day' at line 1 select * from ***_ecms_live where like '%鸽子全明星%' and to_days('2024-05-22 17:03:34')=to_days(start_time) order by newstime ASC limit 100