📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which mapping is correct for Customer (1) to Order (N)?

A. CustomerID as a foreign key in Order ✅
B. OrderID as a foreign key in Customer
C. A junction table CustomerOrder
D. No foreign key is needed

Correct Answer: A. CustomerID as a foreign key in Order

Explanation

Each order stores its customer's ID, so CustomerID is the foreign key in the Order table.