求一个mysql查询统计语句 name type(a/b/c)1012 a1012 b1013 a1013 a1014 c求一个sql语句查出每个name对应的type的a类有多少个,b类有多少,c类有多少 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select `name`,`type`,count(*) as nums from table group by `name`,`type` 分开找也是可以的啊select count(*) as nums from table where type = 'a';select count(*) as nums from table where type = 'b';select count(*) as nums from table where type = 'c'; PHP怎么在后台持续运行? php读取文本文件 php 页面显示 web虚拟服务器 花生壳建站 loadVariables()函数,读取外部文本 一个关于输出获取值的问题,菜鸟提问! PHP与JS之间的传值与赋值(求帮助) 急!utf-8 编码下$_REQUST 乱码 foreach的用法?? 一个简单的php问题 有个见意,希望大家响应。 求问如何把动态网页保存成静态 分页代码/帮我看看/纠结我有段时间了!
select count(*) as nums from table where type = 'a';
select count(*) as nums from table where type = 'b';
select count(*) as nums from table where type = 'c';