1841. League Statistics
Description
+----------------+---------+
| Column Name | Type |
+----------------+---------+
| team\_id | int |
| team\_name | varchar |
+----------------+---------+
team\_id is the primary key for this table.
Each row contains information about one team in the league.
+-----------------+---------+
| Column Name | Type |
+-----------------+---------+
| home\_team\_id | int |
| away\_team\_id | int |
| home\_team\_goals | int |
| away\_team\_goals | int |
+-----------------+---------+
(home\_team\_id, away\_team\_id) is the primary key for this table.
Each row contains information about one match.
home\_team\_goals is the number of goals scored by the home team.
away\_team\_goals is the number of goals scored by the away team.
The winner of the match is the team with the higher number of goals.ac
Last updated