摘要: 重复数据如图所示 自关联,保留id最小的那一条,其它的都删除 DELETE t1 FROM invest_year t1, invest_year t2 WHERE t1.pro_id = t2.pro_id AND t1.pro_year = t2.pro_year AND t1.id > t2. 阅读全文
posted @ 2022-06-22 18:23 废物大师兄 阅读(639) 评论(0) 推荐(0) 编辑