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 performance (LOCATION VARCHAR, Attendance INTEGER)
  ### Question:
  Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees.
  ### Answer:
  SELECT LOCATION FROM performance WHERE Attendance > 2000 INTERSECT SELECT LOCATION FROM performance WHERE Attendance < 1000