1212. Team Scores in Football Tournament
Description
+---------------+----------+
| Column Name | Type |
+---------------+----------+
| team\_id | int |
| team\_name | varchar |
+---------------+----------+
team\_id is the primary key of this table.
Each row of this table represents a single football team.+---------------+---------+
| Column Name | Type |
+---------------+---------+
| match\_id | int |
| host\_team | int |
| guest\_team | int |
| host\_goals | int |
| guest\_goals | int |
+---------------+---------+
match\_id is the primary key of this table.
Each row is a record of a finished match between two different teams.
Teams host\_team and guest\_team are represented by their IDs in the teams table (team\_id) and they scored host\_goals and guest\_goals goals respectively.ac
Last updated