From 47998406502ce70e7f1b9c5835d8fad16cef82bc Mon Sep 17 00:00:00 2001 From: Yannick Passarelli Date: Thu, 11 Jul 2024 14:34:12 +0200 Subject: [PATCH] indicateurs emplois --- dbt/models/marts/daily/candidatures_employeurs.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dbt/models/marts/daily/candidatures_employeurs.sql diff --git a/dbt/models/marts/daily/candidatures_employeurs.sql b/dbt/models/marts/daily/candidatures_employeurs.sql new file mode 100644 index 00000000..01532d76 --- /dev/null +++ b/dbt/models/marts/daily/candidatures_employeurs.sql @@ -0,0 +1,12 @@ +select + id_candidat, + id_structure, + nom_structure, + count(id) as nombre_candidatures +from + {{ ref('candidatures_echelle_locale') }} +group by + id_candidat, + id_structure, + nom_structure +having count(id) > 1