From b2d62ee41c4c04a807725d53c2c61cdee28902ba Mon Sep 17 00:00:00 2001 From: myname Date: Mon, 12 Jun 2023 17:25:10 +0900 Subject: [PATCH] =?UTF-8?q?2023-06-12=2017:24=20=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=EC=9E=90=20=EC=A4=91=EB=B3=B5=EB=8D=B0=EC=9D=B4=ED=84=B0=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sqlmap/ve/edu/VEEdu_MIX_SQL_Cubrid.xml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Cubrid.xml b/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Cubrid.xml index f47d69c8..bfe91c2d 100644 --- a/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Cubrid.xml +++ b/src/main/resources/egovframework/sqlmap/ve/edu/VEEdu_MIX_SQL_Cubrid.xml @@ -1355,7 +1355,23 @@ AND b.edu_chasi_ord = f.edu_chasi_ord ) + /* 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 ) + /* 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 )