diff --git a/src/main/resources/org/cbioportal/persistence/mybatis/ClinicalEventMapper.xml b/src/main/resources/org/cbioportal/persistence/mybatis/ClinicalEventMapper.xml
index 58cd60d098f..4785f27fc04 100644
--- a/src/main/resources/org/cbioportal/persistence/mybatis/ClinicalEventMapper.xml
+++ b/src/main/resources/org/cbioportal/persistence/mybatis/ClinicalEventMapper.xml
@@ -96,6 +96,73 @@
+
+ SELECT
+ clinical_event.CLINICAL_EVENT_ID AS clinicalEventId,
+ clinical_event.EVENT_TYPE AS eventType,
+ sample.STABLE_ID AS uniqueSampleKey,
+ patient.STABLE_ID AS patientId
+ FROM sample
+ INNER JOIN patient ON sample.PATIENT_ID = patient.INTERNAL_ID
+ Inner JOIN clinical_event ON clinical_event.PATIENT_ID = patient.INTERNAL_ID
+ Inner JOIN cancer_study ON cancer_study.CANCER_STUDY_ID = patient.CANCER_STUDY_ID
+
+
+
+
+
+ cancer_study.cancer_study_identifier in
+
+ (NULL)
+
+
+
+ #{item}
+
+
+
+
+
+
+
+
+
+
+