Skip to content

Commit f9c7a56

Browse files
committed
update a single SQL file to test sqlfluff workflow
1 parent eff175f commit f9c7a56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mimic-iv/concepts/firstday/first_day_bg_art.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ SELECT
2828
, MIN(sodium) AS sodium_min, MAX(sodium) AS sodium_max
2929
FROM `physionet-data.mimiciv_icu.icustays` ie
3030
LEFT JOIN `physionet-data.mimiciv_derived.bg` bg
31-
ON ie.subject_id = bg.subject_id
31+
ON
32+
ie.subject_id = bg.subject_id
3233
AND bg.specimen = 'ART.'
3334
AND bg.charttime >= DATETIME_SUB(ie.intime, INTERVAL '6' HOUR)
3435
AND bg.charttime <= DATETIME_ADD(ie.intime, INTERVAL '1' DAY)

0 commit comments

Comments
 (0)