Database: farm
Question: Give the average number of working horses on farms with more than 5000 total horses.
SQL: select avg(working_horses) from farm where total_horses  >  5000