题解 | 输出提交且通过次数大于2 的用户ID且升序排列
select user_id from test.done_questions_record group by user_id having sum(result_info) > 2 order by user_id asc
select user_id from test.done_questions_record group by user_id having sum(result_info) > 2 order by user_id asc
相关推荐