Task: Text to Code
Input (English): SQL: SELECT Avg ( overall_rating ) FROM Player_Attributes
Feedback: Make sure find for preferred foot right and left .
Output (English): SELECT preferred_foot ,  avg(overall_rating) FROM Player_Attributes GROUP BY preferred_foot