mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
db getext
This commit is contained in:
parent
a430494180
commit
fe6543ad0b
13 changed files with 315 additions and 0 deletions
6
documents/musterloesung-db-klausur-a/d3a.sql
Normal file
6
documents/musterloesung-db-klausur-a/d3a.sql
Normal file
|
@ -0,0 +1,6 @@
|
|||
CREATE VIEW GoalsPerPlayer AS (
|
||||
SELECT player_id, name, team, SUM(goals) AS sum_goals
|
||||
FROM Player
|
||||
JOIN Participation ON Participation.player_id = Player.player_id
|
||||
GROUP BY player_id
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue