作者: kallinr 时间: 2024-11-8 09:19
SELECT o.order_id, c.customer_name, p.product_name
FROM orders o
JOIN customers c ON o.customer_id = c.customer_id
JOIN products p ON o.product_id = p.product_id;作者: oliver.tang 时间: 2024-11-8 09:21
orders.customer_id=customers.customer_id join orders.product_id = products.product_id作者: 海海豚 时间: 2024-11-8 10:54
SELECT o.order_id, c.customer_name, p.product_name
FROM orders o
JOIN customers c ON o.customer_id = c.customer_id
JOIN products p ON o.product_id = p.product_id;作者: jingzizx 时间: 2024-11-8 11:32
SELECT o.order_id, c.customer_name, p.product_name
FROM orders o
JOIN customers c ON o.customer_id = c.customer_id
JOIN products p ON o.product_id = p.product_id;作者: 你好浮戈 时间: 2024-11-8 13:16
SELECT o.order_id, c.customer_name, p.product_name
FROM orders o
JOIN customers c ON o.customer_id = c.customer_id
JOIN products p ON o.product_id = p.product_id;作者: litingting0214 时间: 2024-11-8 13:54
SELECT o.order_id, c.customer_name, p.product_name
FROM orders o
JOIN customers c ON o.customer_id = c.customer_id
JOIN products p ON o.product_id = p.product_id;