add the solution of the teacher
This commit is contained in:
parent
cf0112419a
commit
a7e5a84f1a
|
@ -70,7 +70,7 @@ use Abo;
|
|||
go
|
||||
|
||||
create view mitglied_aboart_v(AboArt, Anzahl)
|
||||
as select abo.abo_name, COUNT(abo.abo_id) AS MitgliederProAbo
|
||||
as select abo.abo_name, COUNT(*) Anzahl
|
||||
FROM mitglied
|
||||
INNER JOIN abo ON mitglied.abo_id = abo.abo_id
|
||||
GROUP BY abo.abo_name;
|
||||
|
|
Reference in New Issue