ลูกค้าที่สั่งสินค้าจำนวนมากที่สุดชื่ออะไร?ไม่จำเป็นต้องใช้ตารางทั้งหมด
What is the name of the customer that made the order with the largest quantity?It is not neccessary to use all the tables.
 order_items:  (order_id [ VARCHAR ] order_quantity [ INTEGER) ]
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items)