ค้นหาจำนวนผู้ป่วยหญิงที่วินิจฉัยโรค icd9 รหัส 53390 ไม่จำเป็นต้องใช้ทุกตาราง
find out the number of female patients who have diagnoses icd9 code 53390.It is not neccessary to use all the tables.
 lab:  subject_id [ text]  hadm_id [ text]  itemid [ text]  charttime [ text]  flag [ text]  value_unit [ text]  label [ text]  fluid [ text] 
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "53390"