Commit 3703b5e2 authored by huyuchen's avatar huyuchen

优化修改

parent c6c11c42
...@@ -1457,7 +1457,7 @@ ...@@ -1457,7 +1457,7 @@
SELECT SELECT
count(1) count(1)
FROM ( FROM (
select w.SOCIAL_HOUSEHOLD,w.PROVIDENT_HOUSEHOLD from ( select w.SOCIAL_HOUSEHOLD,max(w.PROVIDENT_HOUSEHOLD) as PROVIDENT_HOUSEHOLD from (
(SELECT (SELECT
CONCAT( a.EMP_IDCARD, '_', a.SOCIAL_PAY_MONTH, '_', a.SOCIAL_CREATE_MONTH, '_', a.SETTLE_DOMAIN_CODE ) AS keyGroup, CONCAT( a.EMP_IDCARD, '_', a.SOCIAL_PAY_MONTH, '_', a.SOCIAL_CREATE_MONTH, '_', a.SETTLE_DOMAIN_CODE ) AS keyGroup,
a.SOCIAL_HOUSEHOLD, a.SOCIAL_HOUSEHOLD,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment