0
为了生成出勤率低于75%的学生USN列表以及他们缺少的出勤率和学科代码,当我运行以下查询时出现错误。我在哪里做错了?你能纠正它吗?如何更正“组功能无效使用”错误?
select attendance.usn,avg(attendance.ispresent),schedule.subcode
where avg(attendance.ispresent) in
(select avg(attendance.ispresent) having avg(attendance.ispresent)<0.75);
的可能的复制[?有没有\ _Value为MySQL 5.6功能(http://stackoverflow.com/questions/37089347/is-there- any-value-capability-for-mysql-5-6) – e4c5
否从子句,没有分组,没有示例数据。 –