mysql更新一个表里的字段等于狂一个表某字段的值
update a left join c on a.id = c.id set a.body = c.c1 where a.id=c.id;
UPDATE a SET a.remark = b.s_id FROM passinfo a,student b WHERE a.studentId = b.id;
该语句在sqlserver中可以运行,在mysql中报错1064错误
给root授予所有权限 GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "root";