标签:mamicode info from png code where HERE lazy group by
问题情形:将手机号重复的列出来,并且展示出重复的人都是谁
SELECT rymc, lxdh FROM list_ry WHERE lxdh IN ( SELECT lxdh FROM list_ry GROUP BY lxdh HAVING COUNT(lxdh) > 1 );
结果:
标签:mamicode info from png code where HERE lazy group by
原文地址:https://www.cnblogs.com/zpp1/p/13954973.html