mysql concat筛选查询重复数据

SELECT c from
(SELECT *,concat(field0,field1)as c from tableName) tt
GROUP BY c HAVING count(c) > 1

posted on 2019-04-17 04:41  王了了  阅读(583)  评论(0)    收藏  举报

导航