which countries did participated in both Friendly and Tournament type competitions.
return countries ;return competitions #1 participated in ;return types of  #2 ;return #1 where #3 is  Friendly ;return #1 where #3 is  Tournament ;return #1 of  both #4 and  #5
['select', 'project', 'project', 'comparative', 'comparative', 'intersection']