Task: Text to Code
Input (English): SQL: SELECT name , age FROM Person WHERE job = "Dan" INTERSECT SELECT name , age FROM Person WHERE job = "Alice"
Feedback: Replace job with friend for all steps .
Output (English): SELECT T1.name ,  T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Dan' INTERSECT SELECT T1.name ,   T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Alice'