# 查询分组数 
SELECT count(*) from
(
SELECT count(*) as countnum
from u_userinfo
WHERE LENGTH(invitememberid) > 0
GROUP BY memberid
) t

相关文章: