Jun 4, 2001 #1 stuck MIS Jan 16, 2002 9 US How do i write this query List all columns in Dept where that have no courses. (Dept and Course are tables and the join on dept.ddept = course.cdept)??????????help
How do i write this query List all columns in Dept where that have no courses. (Dept and Course are tables and the join on dept.ddept = course.cdept)??????????help
Jun 4, 2001 #2 balor Programmer Jul 24, 2000 74 SELECT Dept.* FROM Dept LEFT OUTER JOIN course ON dept.ddept = course.cdept WHERE course.cdept IS NULL; Upvote 0 Downvote
SELECT Dept.* FROM Dept LEFT OUTER JOIN course ON dept.ddept = course.cdept WHERE course.cdept IS NULL;