试题详情

以下关于SQL的GROUP BY使用正确的是

ASELECT stu_name, COUNT(stu_sex) FROM student GROUP BY stu sex ;

BSELECT stu_sex, COUNT(stu_sex) FROM student GROUP BY stu_sex ;

CSELECT stu_name FROM student GROUP BY stu_sex ;

DSELECT stu_sex, COUNT(stu_name) FROM student GROUP BY stu_name ;