update edu_history SET user_nick = ‘test’, chapter = 1, section = 1, subject_number = 1, cost_time = 20, total_time = 180, total_item = 10, right_item = 10, updat_time = ‘2020-06-20 14:23:29’ where user_id = 107 , chapter = 1, section = 1 , subject_number = 1
1064 - 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 ’ chapter = 1, section = 1 , subject_number = 1’ at line 1
时间: 0s
解决:
把where后面查找条件中的“ , ”改为 “ and ”。