SUPPORT-8925 fix
This commit is contained in:
parent
d78c8f0a23
commit
64c096b90f
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ gender_and_recruitment_data AS (
|
|||
ROUND(COUNT(r.id) FILTER (WHERE COALESCE(children_under_18, 0) = 3) * 100.0 / NULLIF(COUNT(r.id), 0), 2) AS three_children_percent,
|
||||
ROUND(COUNT(r.id) FILTER (WHERE COALESCE(children_under_18, 0) >= 4) * 100.0 / NULLIF(COUNT(r.id), 0), 2) AS four_or_more_children_percent
|
||||
FROM
|
||||
children_count сс
|
||||
children_count cc
|
||||
JOIN public.recruits r
|
||||
ON r.id = cc.recruit_id
|
||||
AND r.vu_current_info->>'isMilitaryRegistered' = 'true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue