Give me the name and year of opening of the manufacturers that have either less than 10 factories or more than 10 shops.
return manufacturers ;return factories of  #1 ;return number of #2 for each #1 ;return #1 where  #3 is  lower than 10 ;return shops of  #1 ;return number of #5 for each #1 ;return #1 where  #6 is  higher than 10 ;return #4 or  #7 ;return names of  #8 ;return years of  opening of #8 ;return #9 ,   #10
['select', 'project', 'group', 'comparative', 'project', 'group', 'comparative', 'union', 'project', 'project', 'union']