Database: cre_Students_Information_Systems
Question: How many teachers have taught a student who has not won any achievements?
SQL:
SELECT count(DISTINCT T1.teacher_id) FROM Teachers AS T1 JOIN Classes AS T2 ON T1.teacher_id  =  T2.teacher_id WHERE T2.student_id NOT IN ( SELECT student_id FROM Achievements )