1194. Tournament Winners
Description
+-------------+-------+
| Column Name | Type |
+-------------+-------+
| player\_id | int |
| group\_id | int |
+-------------+-------+
player\_id is the primary key of this table.
Each row of this table indicates the group of each player.+---------------+---------+
| Column Name | Type |
+---------------+---------+
| match\_id | int |
| first\_player | int |
| second\_player | int |
| first\_score | int |
| second\_score | int |
+---------------+---------+
match\_id is the primary key of this table.
Each row is a record of a match, first\_player and second\_player contain the player\_id of each match.
first\_score and second\_score contain the number of points of the first\_player and second\_player respectively.
You may assume that, in each match, players belongs to the same group.ac
Last updated