Task: Text to Code
Input (English): Step 1: For each row in Reviewer table, find the corresponding rows in Rating table.
Step 2: find name of the results of step 1 whose stars equals 2.
Step 3: find name, stars 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.name FROM Reviewer AS T1 JOIN Rating AS T2 ON T1.rID = T2.rID WHERE T2.stars = 2 INTERSECT SELECT T1.name , T2.stars FROM Reviewer AS T1 JOIN Rating AS T2 ON T1.rID = T2.rID WHERE T2.stars = 5