student表idnamescore1小明 2小红 score表idstudent_idscore1180228831784298想要把 student 表的 score 字段更新成 score 表里最大的那个值应该怎么写
update student set score=(select max(score) from score where score.student_id=student.id)