Baselight
select strftime(m.date, '%Y-%m-%d') as match_date, home_teams.name as home_team, away_teams.name as away_team, cast(home_score as int) || '-' || cast(away_score as int) as score, home_score + away_score as num_goals
from @blt.ultimate_soccer_dataset.seasons s
inner join @blt.ultimate_soccer_dataset.competitions c on (s.competition_id = c.competition_id)
inner join @blt.ultimate_soccer_dataset.matches m on (m.season_id = s.season_id)
inner join @blt.ultimate_soccer_dataset.teams home_teams on (m.home_team_id = home_teams.team_id)
inner join @blt.ultimate_soccer_dataset.teams away_teams on (m.away_team_id = away_teams.team_id)
where slug = 'premier-league' and year(s.start_date) >= 2015 and status = 'Match Finished'
order by num_goals desc
limit 10
match_datehome_teamaway_teamscorenum_goals
2017-10-14Manchester CityStoke City7-29
2019-10-25SouthamptonLeicester0-99
2017-02-04EvertonBournemouth6-39
2018-05-13TottenhamLeicester5-49
2022-08-27LiverpoolBournemouth9-09
2017-02-04EvertonBournemouth6-39
2021-12-26Manchester CityLeicester6-39
2020-10-04Aston VillaLiverpool7-29
2021-02-02Manchester UnitedSouthampton9-09
2022-10-02Manchester CityManchester United6-39

Share link

Anyone who has the link will be able to view this.