select avg(mezogazdasag) from foglalkozasok;