ปีที่แล้วมีการกำหนดไดเฟนไฮดรามีนกี่ครั้งสำหรับผู้ป่วย 65467 ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many times was diphenhydramine prescribed in the last year for patient 65467.It is not neccessary to use all the tables.
 admissions:  row_id [ number]  subject_id [ number]  hadm_id [ number]  admittime [ time]  dischtime [ time]  admission_type [ text]  admission_location [ text]  discharge_location [ text]  insurance [ text]  language [ text]  marital_status [ text]  ethnicity [ text]  age [ number] 
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 65467) AND prescriptions.drug = 'diphenhydramine' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')