现在的位置: 首页 > 综合 > 正文

在mysql中如何使用一个表中的数据去更新另外一个表的数据

2014年12月06日 ⁄ 综合 ⁄ 共 61字 ⁄ 字号 评论关闭

update table_a a set a.fa=(select b.fb from table_b b where a.id=b.id);

抱歉!评论已关闭.