MySQL分组查询后,可以获取到分组后每组的数据列表吗?
select id, safety_education_name, project_Information, project_code, sce.group_id, create_time, video_url, img_url,district_id,district_name,stg.group_name as group_name,group_should,group_attendance,count(sce.id)
from sm_class_education sce left join sm_team_group stg on stg.group_id = sce.group_id group by date_format(sce.create_time,'%y%m%d'),sce.project_Information