答案:
select tname from TEACHERS where tno in (select tno from COURSES where cno in ( select cno from SCORES sc group by cno having count(sc.sno)>5));