mysql 分组统计(直播内容状态,带上内容id),count case when group_concat sql

SELECT group_concat(case live_status when 0 then content_id end) as closed_ids, group_concat(case live_status when 1 then content_id when 2 then content_id end) as unclosed_ids, count(case live_status
相关文章
相关标签/搜索