一直在sqlserver下写东西,突然用mysql有些语法发生了改变,有点折腾
(MS SQL Server)语句:update A set a.Name = b.Name from A a, B b where a.id = b.id
(Mysql)语句:: update A a,B b set a.Name = b.Name where a.id = b.id
2022-09-25 19:38:16
一直在sqlserver下写东西,突然用mysql有些语法发生了改变,有点折腾
(MS SQL Server)语句:update A set a.Name = b.Name from A a, B b where a.id = b.id
(Mysql)语句:: update A a,B b set a.Name = b.Name where a.id = b.id