distinct 排除重复 函数

select count(distinct uid) from ib_user_settings;

 

参考: http://www.w3school.com.cn/sql/sql_distinct.asp

posted @ 2019-06-06 19:54  凯宾斯基  阅读(341)  评论(0)    收藏  举报