พวกเขาสั่งยาอะไรให้กับผู้ป่วย 005-4471 สองครั้งขึ้นไป?ไม่จำเป็นต้องใช้ทุกตาราง
what is the drug they has prescribed to patient 005-4471 two or more times?It is not neccessary to use all the tables.
 medication:  medicationid [ number]  patientunitstayid [ number]  drugname [ text]  dosage [ text]  routeadmin [ text]  drugstarttime [ time]  drugstoptime [ time] 
SELECT t1.drugname FROM (SELECT medication.drugname, COUNT(medication.drugstarttime) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-4471')) GROUP BY medication.drugname) AS t1 WHERE t1.c1 >= 2