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\xB8\x83\xE8\xB5\x96\xE4\xBB\xA3\xE5\x90\x88\xE4\xBD\x9C%' and to_day' at line 1 select * from ***_ecms_live where like '%布赖代合作%' and to_days('2024-11-21 20:33:10')=to_days(start_time) order by newstime ASC limit 100