instruction: what is the dose of vitamin d, that patient 8324 was last prescribed in 08/last year?
response: SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8324) AND prescriptions.drug = 'vitamin d' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', prescriptions.startdate) = '08' ORDER BY prescriptions.startdate DESC LIMIT 1