SELECT depreciate.id, depreciate.item_id, depreciate.batch_code,
new_item.description, depreciate.life_time, depreciate.scrap_value,
depreciate.dep_type, item.po_number, item.purchase_value,
item.current_value, item.purchase_date, depreciate.annual_depreciation,
depreciate.depreciation_rate, depreciate.total_depreciate,
depreciate.location, depreciate.dis_id
FROM depreciate, item, new_item
WHERE depreciate.item_id=item.item_id
AND depreciate.item_id=new_item.id
AND new_item.data_mining=1
AND DATE_FORMAT('item.purchase_date', '%m %d') LIKE '%09-18%'
誰かがこのコードのエラーを教えてくれますか? 私はこれが初めてです。