Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mimic-iii/concepts/pivot/pivoted_height.sql
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ WITH ht_in AS
, ht_stg0 AS
(
SELECT
COALESCE(h1.subject_id, h1.subject_id) as subject_id
, COALESCE(h1.charttime, h1.charttime) AS charttime
COALESCE(h1.subject_id, h2.subject_id) as subject_id
, COALESCE(h1.charttime, h2.charttime) AS charttime
, COALESCE(h1.height, h2.height) as height
FROM ht_cm h1
FULL OUTER JOIN ht_in h2
Expand Down