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

来源:互联网 发布:淘宝虚拟类目申请加入 编辑:程序博客网 时间:2024/05/16 06:15
update table_a a set a.fa=(select b.fb from table_b b where a.id=b.id);
原创粉丝点击