We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfedaa commit 646c366Copy full SHA for 646c366
dbt_/models/intermediate/metaux_lourds/int__resultats_metaux_lourds_udi_dernier.sql
@@ -38,12 +38,10 @@ SELECT
38
END AS categorie,
39
CASE
40
WHEN
41
- cdparametresiseeaux = 'PB'
42
- AND (
43
- valtraduite IS NULL
+ -- Pas de distinction PB/AS car même résultat
+ valtraduite IS NULL
44
OR valtraduite = 0
45
- )
46
- THEN 'aucun_parametre_quantifie'
+ THEN 'non_quantifie'
47
48
cdparametresiseeaux = 'PB'
49
AND valtraduite >= 10
@@ -57,13 +55,6 @@ SELECT
57
55
58
56
AND valtraduite < 5
59
THEN 'inf_5'
60
- WHEN
61
- cdparametresiseeaux = 'AS'
62
63
64
- OR valtraduite = 0
65
66
67
68
cdparametresiseeaux = 'AS'
69
AND valtraduite >= 13
0 commit comments