what is the total minimum cost of a hospital that includes a drug called miconazole powder 2% during the previous year?
select min(t1.c1) from ( select sum(cost.cost) as c1 from cost where cost.hadm_id in ( select prescriptions.hadm_id from prescriptions where prescriptions.drug = 'miconazole powder 2%' ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-1 year') group by cost.hadm_id ) as t1