Task: Text to Code
Input (English): What are the different reviewer names, movie titles, and stars for every rating where the reviewer had the same name as the director?
Output (English): SELECT DISTINCT T3.name ,  T2.title ,  T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T2.director  =  T3.name