Question: The following SQL will show customers and the orders they placed. if we want to show shipping information of orders, then what table and columns

The following SQL will show customers and the orders they placed.
if we want to show shipping information of orders, then what table and columns are needed?
select * from customers as c, orders as o, order_items as oi
where c.customer_id = o.order_customer_id and o.order_id = oi.order_item_order_id order by c.customer_id;
a Shipping table having shipping_date column to link to order table
a Shipping table having customer_id column to link to customer table
a Shipping table having order_id column to link to orders table
a Shipping table having shipping_date column to link to customer table
 The following SQL will show customers and the orders they placed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!