text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR)
  ### Question:
  How many schools have some students playing in goalie and mid positions.
  ### Answer:
  SELECT COUNT(*) FROM (SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid')