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\xA1\x94\xE4\xBB\x80\xE5\xB9\xB2\xE6\xA3\x89\xE5\x86\x9C%' and to_day' at line 1 select * from ***_ecms_live where like '%塔什干棉农%' and to_days('2024-11-21 10:26:48')=to_days(start_time) order by newstime ASC limit 100