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 competition (country VARCHAR, competition_type VARCHAR)
  ### Question:
  which countries did participated in both Friendly and Tournament type competitions.
  ### Answer:
  SELECT country FROM competition WHERE competition_type = 'Friendly' INTERSECT SELECT country FROM competition WHERE competition_type = 'Tournament'