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
10
documents/musterloesung-db-klausur-a/d3b.sql
Normal file
10
documents/musterloesung-db-klausur-a/d3b.sql
Normal file
|
@ -0,0 +1,10 @@
|
|||
CREATE VIEW AlwaysParticipating AS (
|
||||
SELECT player_id, name
|
||||
FROM Player
|
||||
JOIN Participation ON Player.player_id = Participation.player_id
|
||||
HAVING SUM(Participation.cup_id) =
|
||||
(
|
||||
SELECT SUM(cup_id)
|
||||
FROM cup_id
|
||||
)
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue