select count(*)
from (
select sId
from SC
left join Course on SC.cId = Course.cId
where cname in ('语文','数学','英语')
group by sId
having count(distinct cname) = 3 and sum(score)/3 > 60
) as s1

select count(*)
from (
select sId
from SC
left join Course on SC.cId = Course.cId
where cname in ('语文','数学','英语')
group by sId
having count(distinct cname) = 3 and sum(score)/3 > 60
) as s1