一直在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
时间: 2024-10-12 14:11:34
一直在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