Task: Text to Code
Input (English): SQL: SELECT name FROM PersonFriend WHERE friend = "Bob"
Feedback: There should be person table instead of person friend table .
Output (English): SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Bob'