- 博客(8)
- 收藏
- 关注
原创 MySQL 语句整理
将 B 表数据 更新到 A 表update a, b set a.field1 = b.field1 , a.field2 = b.field2 where a.id = b.id;查找重复记录select * from a group by a.name having count(1) > 1;group by 后跟重复字段比对两张表数据是否一致select a.code, b.code,if(a.code = b.code, 0, 1) as statusfroma , b whe...
2022-04-15 15:41:15
637
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人