Skip to content

Commit 3b249a6

Browse files
authored
Update team-scores-in-football-tournament.sql
1 parent 3ebfa70 commit 3b249a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MySQL/team-scores-in-football-tournament.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Space: O(n)
33

44
SELECT t.team_id,
5-
t.team_name,
6-
IFNULL(SUM(m.points), 0) AS num_points
5+
t.team_name,
6+
IFNULL(SUM(m.points), 0) AS num_points
77
FROM TEAMS t
88
LEFT JOIN
99
(SELECT host_team AS team_id,

0 commit comments

Comments
 (0)