MySQL查询两门及两门以上不及格的学生,显示姓名

表结构:表名   score

 

查询语句:select name from score group by name having sum(score<60)>=2;

 

posted on 2018-10-23 19:54  养乐多。  阅读(2753)  评论(0编辑  收藏  举报

导航