Task: Text to Code
Input (English): Find the average age of losers and winners of all matches.
Output (English): SELECT avg(loser_age) ,  avg(winner_age) FROM matches