Task: Text to Code
Input (English): Step 1: find the average stars in Rating table.
Step 2: For each row in Movie table, find the corresponding rows in Rating table.
Step 3: find title, director in the results of step 2 whose stars greater than the results of step 1
Output (English): SELECT T1.title , T1.director FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars > ( SELECT Avg ( T2.stars ) FROM Rating AS T2 )