By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 5 Duplicates: 0 Warnings: 0
TEAM_ID | TEAM_NAME |
---|---|
10 | Give |
20 | Never |
30 | You |
40 | Up |
50 | Gonna |
Records: 5 Duplicates: 0 Warnings: 0
MATCH_ID | HOST_TEAM | GUEST_TEAM | HOST_GOALS | GUEST_GOALS |
---|---|---|---|---|
1 | 30 | 20 | 1 | 0 |
2 | 10 | 20 | 1 | 2 |
3 | 20 | 50 | 2 | 2 |
4 | 10 | 30 | 1 | 0 |
5 | 30 | 50 | 0 | 1 |
TEAM_ID | TEAM_NAME | TOTAL_POINTS |
---|---|---|
20 | Never | 4 |
50 | Gonna | 4 |
10 | Give | 3 |
30 | You | 3 |
40 | Up | 0 |