Task: Text to Code
Input (English): Step 1: For each row in Movie table, find the corresponding rows in Rating table.
Step 2: find director of the results of step 1 whose stars equals 2.
Step 3: find director of the results of step 1 whose stars equals 5.
Step 4: show the rows that are in both the results of step 2 and the results of step 3
Output (English): SELECT T1.director FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars = 2 INTERSECT SELECT T1.director FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars = 5