ผู้ป่วย 45612 ได้จ่ายโพรโพฟอลจนถึงปี 2101 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
did patient 45612 have propofol prescribed until 2101?It is not neccessary to use all the tables.
 cost:  row_id [ number]  subject_id [ number]  hadm_id [ number]  event_type [ text]  event_id [ number]  chargetime [ time]  cost [ number] 
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 45612) AND prescriptions.drug = 'propofol' AND STRFTIME('%y', prescriptions.startdate) <= '2101'