如何GROUP_CONCAT
在此查询中申请?
询问
SELECT WEEK(cpd.added_date) AS week_no,COUNT(cpd.result) AS death_count
FROM cron_players_data cpd WHERE cpd.player_id = 81
AND cpd.result = 2 AND cpd.status = 1
GROUP BY WEEK(cpd.added_date);
查询输出结果画面
结果必填
23,24,25 AS week_no 2,3,1 AS death_count