回答編集履歴
1
推敲
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
where (ID, 計測日) in (
|
10
10
|
|
11
|
-
select ID, coalesce(max(case when BMI is not Nul then 計測日 end), max(計測日))
|
11
|
+
select ID, coalesce(max(case when BMI is not Null then 計測日 end), max(計測日))
|
12
12
|
|
13
13
|
from ZZZ
|
14
14
|
|