您可以在表boxes
列po_id
中添加索引,也可以将派生表的claim_notes
转换为子查询
(SELECT MAX(claim_status_id) FROM claim_notes WHERE item_id = items.id) AS claim_status_id
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.