1.List the teachers who have NULL for their department.
select name from teacher where dept is null
2.Note the INNER JOIN misses the teachers with no department and the departments with no teacher.
SELECT teacher.name, dept.name
FROM teacher FULL JOIN dept ON (teacher.dept=dept.id)
- Use a different JOIN so that all teachers are listed.
SELECT teacher.name,<