Table schema:
CREATE TABLE manufacturer (num_of_shops INTEGER, Num_of_Factories INTEGER, open_year INTEGER)

Question: what is the average number of factories and maximum number of shops for manufacturers that opened before 1990.
SQL: SELECT MAX(num_of_shops), AVG(Num_of_Factories) FROM manufacturer WHERE open_year < 1990