如何用一条SQL语句实现多条件统计? select sun(num) from table group by year(date) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 谢谢zjzty(㊣狂徒) ,好使如果也要统计月呢?select sun(num) from table group by year(date)-month(date)好像有点问题 搞定select sun(num) from table group by year(date), month(date) mysql查询结果返回XML格式 类似for xml 搭建免费组合(FreeBSD+JSP+MYSQL)可以吗? 高并发下2台服务器本地的变量之间如何进行通信? mysql 如何查询得到全部数据库实例的名字? 咨询一条MYSQL语句的写法 导入txt 用的是sqlyog tools/import sql statements 请教数据库导入问题 重定位 /var/lib/mysql 的问题 MySql 数据库存储过程若干问题: select count(*)中如何使用having? 再问,我想对一个字段里的不同值进行计数,怎么写? 请大家介绍几个开源的嵌入式数据库,谢谢了
select sun(num) from table group by year(date)-month(date)好像有点问题
select sun(num) from table group by year(date), month(date)