มีการสำรวจต่อมหมวกไตกี่ครั้งจนถึงปี 2102? ไม่จำเป็นต้องใช้ตารางทั้งหมด
how many times a adrenal exploration nos has been taken until 2102?It is not neccessary to use all the tables.
 chartevents:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icustay_id [ number]  itemid [ number]  charttime [ time]  valuenum [ number]  valueuom [ text] 
SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'adrenal exploration nos') AND STRFTIME('%y', procedures_icd.charttime) <= '2102'