ครั้งแรกที่อัตราการเต้นของหัวใจของผู้ป่วย 25814 น้อยกว่า 78.0 ในเดือน/30 นี้คือเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the first time the heart rate for patient 25814 was less than 78.0 on this month/30?It is not neccessary to use all the tables.
 inputevents_cv:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icustay_id [ number]  charttime [ time]  itemid [ number]  amount [ number] 
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25814)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND chartevents.valuenum < 78.0 AND DATETIME(chartevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', chartevents.charttime) = '30' ORDER BY chartevents.charttime LIMIT 1