human
Schema:
stadium (id, name, Home_Games, Average_Attendance, Total_Attendance, Capacity_Percentage)
game (stadium_id, id, Season, Date, Home_team, Away_team, Score, Competition)
injury_accident (game_id, id, Player, Injury, Number_of_matches, Source)
Please answer with SQL.
assistant
Sure, I understand.
human
Show me all the injuries.
assistant
SELECT injury FROM injury_accident;
human
Show me the ids of the games where those of 'Foot injury' or 'Knee problem' happened.
assistant
SELECT game_id FROM injury_accident WHERE injury = 'Foot injury' OR injury = 'Knee problem';
human
What about their seasons and stadiums?
assistant
SELECT T1.season , T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.injury = "Foot injury" OR T3.injury = "Knee problem" ;