In the database diagram, a company has tables orders products Recipient items.
* Recipient is linked to Orders as 1-N
* Products to Orders as N-N
Recipient ID, Email Full Name, Customer ID Orders: Orders ID, Recipient ID, Product ID, Date of purchase items: Product ID, order ID, item ID products Product ID, Name, Status, Creation Date.
Which columns act as both primary and forgive keys?
The Product ID column acts as the primary key for the Products table and as a foreign key for the Orders table. The Order ID column acts as the primary key for the Orders table and as a foreign key for the Items table. The Customer ID, Product ID, and Item ID columns do not act as primary or foreign keys.
Currently there are no comments in this discussion, be the first to comment!