group by 和count的联合使用问题

今天写查询语句遇到一个问题,就是用group by进行分组之后,用count统计分组之后的个数,mysql 开始写的语句大致是:sql select count(m.fbrandid)   from table as m group by m.fbrandid, month(fdate);数据库 数据库中的数据为:函数                       +----------+-----
相关文章
相关标签/搜索