Task: Text to Code
Input (English): What is the average weight of all players?
Output (English): SELECT avg(weight) FROM Player