📜  magento 2 查找产品订单 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:11.098000             🧑  作者: Mango

代码示例1
SELECT so.customer_email, soi.sku, soi.name FROM `sales_order` as so left join sales_order_item as soi on so.entity_id = soi.order_id where soi.sku = 'your_product_sku'