เมื่อเปรียบเทียบกับการวัดที่ 2102-06-29 103000 ค่ากลูโคสของผู้ป่วย 025-53910 น้อยกว่าค่าที่วัดที่ 2102-06-27 103600 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
compared to measured at 2102-06-29 103000 was the glucose value of patient 025-53910 less than the value measured at 2102-06-27 103600?It is not neccessary to use all the tables.
 cost:  costid [ number]  uniquepid [ text]  patienthealthsystemstayid [ number]  eventtype [ text]  eventid [ number]  chargetime [ time]  cost [ number] 
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-53910')) AND lab.labname = 'glucose' AND lab.labresulttime = '2102-06-29 10:30:00') < (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-53910')) AND lab.labname = 'glucose' AND lab.labresulttime = '2102-06-27 10:36:00')