mysql记录数据库中重复的字段的数据
SELECT
SUM(co)
FROM
(
SELECT
telephone,
count(telephone) AS co
FROM
noteaddress
GROUP BY
telephone
HAVING
count(telephone) > 1
) as a