sql count不重复的记录个数

select COUNT(distinct(number)) from table

查询出来的值不重复可以使用 group by '字段名'

前望
原文地址:https://www.cnblogs.com/ybbqg/p/2397993.html