mysql经过对比一张表的数据来修改另外一张表两种sql的对比

1.任务要求: 有两张表,student1和student2,要求对比student2中的数据,将name相同的student1中的score换成student2中的score,同时保留student1中name不一样的scoreweb student1(学生表一) student2(学生表二) sql 在网上搜出了两种选择: 1.UPDATE student1 a SET score = (SE
相关文章
相关标签/搜索