จำนวนสินค้าทั้งหมดที่ซื้อโดย "ร็อดริก ฮีนีย์" คือเท่าใด
What is the total quantity of products purchased by "Rodrick Heaney"?
df_customers = pd.DataFrame(columns=['customer_id', 'customer_name']); df_order_items = pd.DataFrame(columns=['order_quantity', 'order_id']); df_customer_orders = pd.DataFrame(columns=['customer_id', 'order_id'])
df_order_items[df_order_items['order_id'].isin(df_customer_orders[df_customer_orders['customer_id'].isin(df_customers[df_customers['customer_name']=='Rodrick Heaney']['customer_id'])]['order_id'])]['order_quantity'].sum()