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 '%\xE8\xB4\x9D\xE8\xA5\xBF\xE5\x85\x8B\xE5\xA1\x94\xE6\x96\xAF%' and to_day' at line 1 select * from ***_ecms_live where like '%貝西克塔斯%' and to_days('2024-11-25 04:18:47')=to_days(start_time) order by newstime ASC limit 100