摘要: 一、去重,去除多个字段相同的记录,保留一个 场景一:去除表中所有重复数据,均只保留一个 delete from tbl_dept where dept_id not in ( select id from ( select min(dept_id) as id from tbl_dept group 阅读全文
posted @ 2018-06-22 19:19 yifanSJ 阅读(487) 评论(0) 推荐(0) 编辑