方法1:
查出科目成绩有小于80分的学生姓名,再约束并去重学生不等于查出来的姓名
select distinct A.name from t_score A where A.name not in(select distinct B.name from t_score B where B.fenshu <=80)
方法2:
按学生姓名分组,且最小的分数要大于80分
select A.name from t_score A group by A.name having min(A.fenshu)>80