故梦博客 - MySQL数据库删除重复记录只保留其中一条 的评论
type: channel
link: https://blog.gmya.net/63.html
description: 查出重复的typeSELECT type FROM table GROUP BY type HAVING count(type) > 1;查出重复的type数据中最小的idSELECT m...