表A和表B,现在希望更新A表,当 A.bid = B.id时,a.x = b.x, a.y=b.y,请问mysql中sql语句
update a inner join b on a.bid=b.id set a.x=b.x,a.y=b.y ;
2021-09-07 23:47:15
表A和表B,现在希望更新A表,当 A.bid = B.id时,a.x = b.x, a.y=b.y,请问mysql中sql语句
update a inner join b on a.bid=b.id set a.x=b.x,a.y=b.y ;