Skip to content

for Q.11 For every match involving 'POL', show the matchid, date and the number of goals scored #9

@dubeyji10

Description

@dubeyji10

used multiple group by

SELECT matchid, mdate, COUNT(player) as 'goals scored'
FROM goal JOIN
game
ON matchid = id
WHERE 'POL' IN (team1, team2)
GROUP BY matchid,mdate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions