Count the number of distinct instructors who have taught a course.
SELECT COUNT (DISTINCT id) FROM teaches
number of distinct instructors who have taught a course refers to COUNT(DISTINCT instructor_id);