Task: Text to Code
Input (English): SQL: SELECT name FROM Person ORDER BY age Asc LIMIT 1
Feedback: Need to find on basis of largest value of age of that person's friend .
Output (English): SELECT T2.name ,  avg(T1.age) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend GROUP BY T2.name ORDER BY avg(T1.age) DESC LIMIT 1