2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
This commit is contained in:
Martin Thoma 2013-07-27 15:28:36 +02:00
parent 58786aaad4
commit 29d5c11e84
8 changed files with 143 additions and 39 deletions

View file

@ -0,0 +1,6 @@
CREATE VIEW Beratungsanzahl AS (
SELECT berater_id, count(DISTINCT Berater.berater_id) AS Anzahl
FROM Berater
FULL OUTER JOIN Kunden ON Berater.berater_id = Kunden.berater_id
GROUP BY berater_id
)