标签:one nbsp mysql phone group by having mysq add from
SELECT
SUM(co)
FROM
(
SELECT
telephone,
count(telephone) AS co
FROM
noteaddress
GROUP BY
telephone
HAVING
count(telephone) > 1
) as a
标签:one nbsp mysql phone group by having mysq add from
原文地址:http://www.cnblogs.com/guolsblog/p/6055261.html