pgtap
This commit is contained in:
11
docker-entrypoint-initdb.d/3_views.sql
Normal file
11
docker-entrypoint-initdb.d/3_views.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
create view nb_total_familles as
|
||||
select count(*) as nb_total_familles from famille;
|
||||
|
||||
create view nb_total_articles as
|
||||
select count(*) as nb_total_articles from article;
|
||||
|
||||
create view nb_total_tickets as
|
||||
select count(*) as nb_total_tickets from ticket;
|
||||
|
||||
create view nb_total_adherents as
|
||||
select count(*) as nb_total_adherents from adherent;
|
||||
Reference in New Issue
Block a user