human
Schema:
club (Club_ID, name, Region, Start_year)
club_rank (Rank, Club_ID, Gold, Silver, Bronze, Total)
player (Player_ID, name, Position, Club_ID, Apps, Tries, Goals, Points)
competition (Competition_ID, Year, Competition_type, Country)
competition_result (Competition_ID, Club_ID_1, Club_ID_2, Score)
Please answer with SQL.
assistant
Sure, I understand.
human
How many competitions are there where the competition type is 'Friendly'?
assistant
SELECT COUNT( * ) FROM competition WHERE competition_type = 'Friendly';
human
What about for the type 'Tournament'?
assistant
SELECT COUNT( * ) FROM competition WHERE competition_type = "Tournament" ;