SELECT avg(num_of_staff) FROM museum WHERE open_year  <  2009
Find the average number of staff working for the museums that were open before 2009.
SELECT avg ( num_of_staff ) FROM museum WHERE open_year < 2009
select avg ( num_of_staff ) from museum where open_year < value
Find the average number of staff working for the museums that were open before 2009 .