d3a.sql 213 B

1234567
  1. CREATE VIEW GoalsPerPlayer AS (
  2. SELECT player_id, name, team, SUM(goals) AS sum_goals
  3. FROM Player
  4. JOIN Participation ON Participation.player_id = Player.player_id
  5. GROUP BY player_id
  6. )