Give the average number of working horses on farms with more than 5000 total horses.
SELECT avg(Working_Horses) FROM farm WHERE Total_Horses  >  5000
average number of working horses refers to AVG(Working_Horses); farms with more than 5000 total horses refers to WHERE Total_Horses > 5000;