SELECT COUNT (DISTINCT id) FROM teaches
Count the number of distinct instructors who have taught a course.
SELECT COUNT ( DISTINCT id ) FROM teaches
select count ( distinct id ) from teaches
Count the number of distinct instructors who have taught a course .