What are the ids of instructors who taught courses?
select id from teaches
What are the ids of all other instructors?
select id from instructor except select id from teaches