You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WHEN consent.consent_code <> NULL THEN concat(study_accession_meta.value, '.', consent.consent_code)
63
+
ELSE study_accession_meta.value
64
+
END
65
+
AS accession,
66
+
study_focus_meta.value AS study_focus,
67
+
additional_info_meta.value AS additional_info_link
68
+
FROM
69
+
dataset
70
+
LEFT JOIN consent ON consent.dataset_id = dataset.dataset_id
71
+
LEFT JOIN dataset_meta AS study_focus_meta ON study_focus_meta.dataset_id = dataset.dataset_id AND study_focus_meta.KEY = 'study_focus'
72
+
LEFT JOIN dataset_meta AS study_accession_meta ON study_accession_meta.dataset_id = dataset.dataset_id AND study_accession_meta.KEY = 'study_accession'
73
+
LEFT JOIN dataset_meta AS additional_info_meta ON additional_info_meta.dataset_id = dataset.dataset_id AND additional_info_meta.KEY = 'additional_info_link'
0 commit comments