교육감 0 문제 수정

This commit is contained in:
2026-05-28 10:24:23 +09:00
parent b9e5054a77
commit 212b987b5b

View File

@@ -239,7 +239,7 @@
END)
) V(cluster)
WHERE option_cd = '02'
AND cand_party = 'CAND'
--AND cand_party = 'CAND'
AND area_cd = '16'
AND T.cluster IN ('1', '2', '3', '4')
AND V.cluster IS NOT NULL
@@ -248,7 +248,7 @@
SELECT area_cd, cand_party, '9'+cluster, cand_party_cd, CONVERT(NUMERIC(4,1),
case when ISNULL(SUM(sum_cnt), 0) = 0 then 0 else ISNULL(SUM(cnt), 0) / ISNULL(SUM(sum_cnt), 0) * 100 end) AS sect_rate
FROM exitpoll.dbo.TMP_OUTPUT_DDAY WHERE option_cd = '02'
and cand_party = 'CAND'
--and cand_party = 'CAND'
and area_cd <> '16'
GROUP BY area_cd, cand_party, '9'+cluster, cand_party_cd
) A LEFT JOIN (