Baselight
select mps.minutes_played
       , SUM(CASE WHEN mps.goals_scored IS NOT NULL THEN mps.goals_scored ELSE 0 END) as goals_scored
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.match_player_stats mps on (mps.match_id = m.match_id)
inner join @blt.ultimate_soccer_dataset.players p on (mps.player_id = p.player_id)
where slug = 'premier-league' and season_label = '2025/2026' and m.status = 'Match Finished' and mps.minutes_played is not null
group by all
having goals_scored > 0
order by 1
minutes_playedgoals_scored
81
141
151
201
221
253
262
361
381
391
531
643
691
712
723
732
763
782
793
802
811
841
851
881
891
9013
911
945
961
976
982
994
1002
1012

Share link

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