Task: Text to Code
Input (English): Step 1: For each row in Minor_in table, find corresponding rows in Student table and in Department table.
Step 2: find DName of the results of step 1 whose Major equals 600.
Step 3: find DName of the results of step 1 whose Major equals 600.
Step 4: show the rows that are in the results of step 2 but not in the results of step 3
Output (English): SELECT T2.DName FROM Student AS T1 JOIN Department AS T2 JOIN Minor_in AS T3 ON T1.StuID = T3.StuID AND T3.DNO = T2.DNO WHERE T1.Major = 600 EXCEPT SELECT T2.DName FROM Student AS T1 JOIN Department AS T2 JOIN Minor_in AS T3 ON T1.StuID = T3.StuID AND T3.DNO = T2.DNO WHERE T1.Major = 600