what is the average number of factories and maximum number of shops for manufacturers that opened before 1990.
SELECT max(num_of_shops) ,  avg(Num_of_Factories) FROM manufacturer WHERE open_year  <  1990
SELECT max(num_of_shops) ,  avg(Num_of_Factories) FROM manufacturer WHERE open_year  <  1990
[{'max(num_of_shops)': 8, 'avg(Num_of_Factories)': 36.0}]