在MYSQL里一张order表里统计有custorm,其中custorm相同的有多个记录!对者20分给! SELECT COUNT(DISTINCT custorm) FROM order 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select count(*) from `order` group by custorm 如果统计重复条数select custorm,count(*) from order group by custorm如果统计总共的order_timeselect custorm,sum(order time) from order group by custorm php分页起始页乱码问题 循环 分组 请教UCenter Home安装问题 php socket 问题 关于php的判断语句 在线编辑器中按回车键时换行了,但是行宽太大了,能缩小一点吗? 乱码 急寻:PEAR的详细资料!!!!! 一个php中使用session的问题 前端的签名验证是不是需要PHP后台事先传递签名过去? 读取数据库记录,存储在数组的问题 高分求要:产品展示系统的源码!
select custorm,count(*) from order group by custorm如果统计总共的order_time
select custorm,sum(order time) from order group by custorm