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\xBB\x91\xE9\xBE\x99\xE6\xB1\x9F\xE5\x86\xB0\xE5\x9F\x8E%' and to_day' at line 1 select * from ***_ecms_live where like '%黑龙江冰城%' and to_days('2024-11-22 18:37:40')=to_days(start_time) order by newstime ASC limit 100