diff --git a/SQLZOO Solutions/6-JOIN.sql b/SQLZOO Solutions/6-JOIN.sql index a547ead..76e8480 100644 --- a/SQLZOO Solutions/6-JOIN.sql +++ b/SQLZOO Solutions/6-JOIN.sql @@ -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 /*