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