CREATE TABLE farm (Working_Horses INT, Total_Horses INT)

What is the average number of working horses of farms with more than 5000 total number of horses?
SELECT AVG(Working_Horses) FROM farm WHERE Total_Horses > 5000
SELECT AVG("Working_Horses") FROM "farm" WHERE "Total_Horses" > 5000