2023-06-12 17:24 관리자 중복데이터 제거

This commit is contained in:
myname 2023-06-12 17:25:10 +09:00
parent 1a0d4ea19e
commit b2d62ee41c

View File

@ -1355,7 +1355,23 @@
AND b.edu_chasi_ord = f.edu_chasi_ord
)
</isEqual>
/*
LEFT OUTER JOIN ve_acmdt_aplct g
*/
LEFT OUTER JOIN (
SELECT B00.*
FROM (
SELECT edu_aplct_ord, edu_chasi_ord, MAX(acmdt_aplct_ord) acmdt_aplct_ord
FROM ve_acmdt_aplct
GROUP BY edu_aplct_ord, edu_chasi_ord
)A00
, ve_acmdt_aplct B00
WHERE a00.edu_aplct_ord=b00.edu_aplct_ord
AND a00.edu_chasi_ord=b00.edu_chasi_ord
AND a00.acmdt_aplct_ord=b00.acmdt_aplct_ord
) g
ON ( b.edu_aplct_ord=g.edu_aplct_ord
AND b.edu_chasi_ord=g.edu_chasi_ord
)
@ -1871,7 +1887,23 @@
AND b.edu_chasi_ord = f.edu_chasi_ord
)
</isEqual>
/*
LEFT OUTER JOIN ve_acmdt_aplct g
*/
LEFT OUTER JOIN (
SELECT B00.*
FROM (
SELECT edu_aplct_ord, edu_chasi_ord, MAX(acmdt_aplct_ord) acmdt_aplct_ord
FROM ve_acmdt_aplct
GROUP BY edu_aplct_ord, edu_chasi_ord
)A00
, ve_acmdt_aplct B00
WHERE a00.edu_aplct_ord=b00.edu_aplct_ord
AND a00.edu_chasi_ord=b00.edu_chasi_ord
AND a00.acmdt_aplct_ord=b00.acmdt_aplct_ord
) g
ON ( b.edu_aplct_ord=g.edu_aplct_ord
AND b.edu_chasi_ord=g.edu_chasi_ord
)