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
相關文章
相關標籤/搜索