Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We build a database about Products and Vendors. The business rules are one PRODUCT is supplied by a single VENDOR and each VENDOR can supply
We build a database about Products and Vendors. The business rules are one PRODUCT is supplied by a single VENDOR and each VENDOR can supply many PRODUCTs. Suppose ProductID is the primary key of PRODUCT and VendorID is the primary of VENDOR. Which of the following statement about the foreign key is correct?
VendorID should be used in the PRODUCT entity as the foreign key and ProductID should be used in the VENDOR entity as the foreign key.
ProductID should be used in the VENDOR entity as the foreign key.
VendorID should be used in the PRODUCT entity as the foreign key.
No foreign key is needed to represent the relationship between VENFOR and PRODUCT.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started