sql count不重复的记录个数

select COUNT(distinct(number)) from table

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

posted @ 2012-03-15 14:17  前望  阅读(1763)  评论(0编辑  收藏  举报