摘要: update ys_yhxx yh,ys_yhxx_copy yhc set yh.customerPhone=yhc.customerPhone where yh.customerId=yhc.customerId 阅读全文
posted @ 2019-09-11 16:05 清华大咖 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 两张表数据不一致进行对比,找不不一样的数据, 使用外连接查询 SELECT * from ys_yhxx yh1 left join ys_yhxx_copy1 yh2 on yh1.customerNo=yh2.customerNo WHERE yh2.customerId is null;SEL 阅读全文
posted @ 2019-09-11 16:02 清华大咖 阅读(1334) 评论(0) 推荐(0) 编辑