Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SQLZOO Solutions/6-JOIN.sql
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ For every match involving 'POL', show the matchid, date and the number of goals
SELECT matchid,mdate, COUNT(mdate)
FROM game JOIN goal ON matchid = id
WHERE (team1 = 'POL' OR team2 = 'POL')
GROUP BY mdate, matchid
GROUP BY mdate, matchid ORDER BY matchid ASC

# 12
/*
Expand Down