What are the countries that participated in both friendly and tournament type competitions?
return countries ;return competitions of #1 ;return types of #2 ;return #1 where #3 is friendly ;return #1 where #3 is tournament ;return #1 in  both #4 and  #5
['select', 'project', 'project', 'comparative', 'comparative', 'intersection']