向高手求助,复杂的sql语句!急急 哦 忘记说明了 是mysql数据库 5.1.16版本 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select merchantid,productid,sum(ssart)/count(1) from sales group by merchantid,productid select merchantid,productid,CONCAT(merchantid,'_',productid) AS k,SUM(ssart)/COUNT(ssart)from `test`group by k sql查询问题 autoload函数,无法预期的EOF问题 如何判断字符串是否合法? 怎么实现这样的网址:http://www.xxx.com/username php 中nvarchar类型显示错误 你在干嘛,我在第八个(debug) php怎么进行编译?用什么工具 气死我了,本姑娘以后再也不来PHP版回答问题了 为什么我运行任何连mysql的程序,他都提示"0 is not a MySQL result index in c:\Apache\htdocs\index.php3 on line XX"?? 有高手能指导一下吗 这样的值怎么提取 怎么把大文本文件生成EXCEL
CONCAT(merchantid,'_',productid) AS k,
SUM(ssart)/COUNT(ssart)
from `test`
group by k