ผู้ป่วย 007-7646 กำหนดด้วย dextra 5%-nacl 0.45% 1,000 ml lvp และ ondansetron (pf) เป็นครั้งแรกพร้อมกันเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was patient 007-7646 prescribed with dext 5%-nacl 0.45% 1000 ml lvp and ondansetron (pf) for the first time at the same time?It is not neccessary to use all the tables.
 treatment:  treatmentid [ number]  patientunitstayid [ number]  treatmentname [ text]  treatmenttime [ time] 
SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'dext 5%-nacl 0.45% 1000 ml lvp' AND patient.uniquepid = '007-7646') AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'ondansetron (pf)' AND patient.uniquepid = '007-7646') AS t2 ON t1.uniquepid = t2.uniquepid WHERE DATETIME(t1.drugstarttime) = DATETIME(t2.drugstarttime) ORDER BY t1.drugstarttime LIMIT 1