摘要: 很多场景我们需要依据两个表的某个字段进行关联更新。 select * from table1 t1; select * from table2 t2; 现需求:参照table2表修改table1表,修改条件为两表的fname列内容一致。 常见陷阱:update table1 t1 set t1.fm 阅读全文
posted @ 2020-11-26 19:57 Coding&Fun 阅读(1415) 评论(0) 推荐(0) 编辑