Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider the following tables VENDOR (VEN NUMBER, VEN_CONTACT, VEN_PHONE) PRODUC

ID: 3882149 • Letter: C

Question

Consider the following tables VENDOR (VEN NUMBER, VEN_CONTACT, VEN_PHONE) PRODUCT(PROD CODE, PROD_DESCRIPTION, PROD_PRICE, VEN NUMBER) For the tables given above, work on the problems below: For each table, identify the primary key. For each table, identify the foreign key(s). Identify at least one candidate key. If there are no candidate keys, give an example of an attribute that could be used as a candidate key. For one of the tables, give examples of a superkey and a secondary key. For the given tables, explain how entity integrity and referential integrity could be violated. Give specific examples. Use Visio to create a detailed Crow's Foot ERD. The diagram must include all entities, attributes, and relationships. Primary keys and foreign keys must be clearly identified on the diagram.

Explanation / Answer

This is against chegg policy for posting too many questions in a single post.I have answered 4 parts, kindly post other questions accordingly.

Part 1. Table Vendor - VEN_NUMBER is the primary key.

Table Product - PROD_CODE is the primary key.

Part 2.   VEN_NUMBER is the foreign key.

Part 3.   VEN_CONTACT is a candidate key.

Part 4. For table vendor : VEN_NUMBER is a super key and VEN_CONTACT

Kindly rate an upvote...Thankyou