会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
fightwu
博客园
首页
新随笔
联系
管理
订阅
2015年11月9日
Mysql 根据一个表数据更新另外一个表
摘要: update 更新表 set 字段 = (select 参考数据 from 参考表 where 参考表.id= 更新表.id);update table_2 m set m.column = (select column from table_1 mp where mp.id= m.id);方法二:...
阅读全文
posted @ 2015-11-09 00:41 傻傻丶乐
阅读(24027)
评论(2)
推荐(2)
编辑
公告