select count(distinct(字段ID)) from  表名 。。。。。。

 

这样可以去掉重复。

感谢棉哥。

posted on 2012-04-26 11:49  一切都是幌子  阅读(378)  评论(0)    收藏  举报