From 8b32d83bc856cfcccded75893943cea72bb49cb0 Mon Sep 17 00:00:00 2001 From: "mori.k" Date: Mon, 2 Jun 2025 18:35:46 +0900 Subject: [PATCH] =?UTF-8?q?=E9=96=89=E3=81=98=E6=8B=AC=E5=BC=A7=E3=81=AE?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=83=87=E3=83=B3=E3=83=88=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecs/jskult-batch/src/batch/mst_inst_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/jskult-batch/src/batch/mst_inst_all.py b/ecs/jskult-batch/src/batch/mst_inst_all.py index 96a9e7d2..c5b99021 100644 --- a/ecs/jskult-batch/src/batch/mst_inst_all.py +++ b/ecs/jskult-batch/src/batch/mst_inst_all.py @@ -348,7 +348,7 @@ class MstInstAll(JskultBatchEntrypoint): SELECT mim.inst_cd, MAX(mim.eff_end_ym) AS max_end_ym FROM src07.mst_inst_merck AS mim GROUP BY mim.inst_cd - ) AS mim_max_end_ym + ) AS mim_max_end_ym ON mim.inst_cd = mim_max_end_ym.inst_cd AND mim.eff_end_ym = mim_max_end_ym.max_end_ym LEFT OUTER JOIN src07.mst_jis_pref AS mjp