MySQL 关于count与group by一块儿用的效果

原本想要效果是有多少个userId,结果却显示的是,去重后每组userId有多少个。 select count(id) from ls_wweb_log_call where userId is not null and companyUserId=:companyUserId and createDate BETWEEN :nowDate AND :nextDate group by userI
相关文章
相关标签/搜索