Task: Text to Code
Input (English): SQL: SELECT Avg ( Sheep_and_Goats ) FROM farm WHERE Total_Horses > 5000
Feedback: Replace sheep and goats with working horses .
Output (English): SELECT avg(Working_Horses) FROM farm WHERE Total_Horses  >  5000