select COUNT(distinct(number)) from table 查询出来的值不重复可以使用 group by '字段名' 转载于:https://www.cnblogs.com/ybbqg/archive/2012/03/15/2397993.html