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 '%\xE5\x8D\xA2\xE6\xA3\xAE\xE5\xA0\xA1%' and to_days('2024-11-26 19:46:36')' at line 1 select * from ***_ecms_live where like '%盧森堡%' and to_days('2024-11-26 19:46:36')=to_days(start_time) order by newstime ASC limit 100