Find the districts in which there are both shops selling less than 3000 products and shops selling more than 10000 products.
return districts ;return shops  in #1 ;return products  #2 sell ;return number of  #3 for each  #2 ;return #2 where #4 is  lower than 3000 ;return #2 where #4 is  higher than 10000 ;return #1 of  both #5 and  #6
['select', 'project', 'project', 'group', 'comparative', 'comparative', 'intersection']