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 '%\xE4\xB8\xAD\xE6\x97\xA5\xE5\xBE\xB7\xE5\x85\xB0%' and to_days('2024-11-2' at line 1 select * from ***_ecms_live where like '%中日德蘭%' and to_days('2024-11-25 07:59:25')=to_days(start_time) order by newstime ASC limit 100