去重后要获取总数量SELECT COUNT(DISTINCT id) FROM user
https://blog.csdn.net/Poison_M/article/details/85276718