3
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%'
누군가이 코드의 오류를 말해 줄 수 있습니까? 나는 이것에 처음이에요.잘못된 datetime 값 : 'item.purchase_date'
오류에
을 변경 시도는 항상 다시 MySQL의에보고됩니다. – hjpotter92
그의 오류는이 항목에서 설명합니다. – hsz