Question

VEND CODE -> VEND NAME Perry Computer Inc. uses the following INVOICE table keep track of their data. Relational schema is li
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer)

Converting to BCNF since it is the highest normal form:

Table 1: Invoice(Inv_Num, Sale_Date) | Primary key : Inv_Num
FD:
Inv_Num -> Sale_Date


Table 2: InvoiceProduct(Inv_Num, Prod_Num, Num_Sold) | Primary key: Composite key of Inv_Num, Prod_Num | Foreign key: Inv_Num will refer to the Invoice(Inv_Num) | Foreign key: Prod_Num will refer to the Product(Prod_Num)


Table 3: Vendor(Vend_Code, Vend_Name) | Primary key : Vend_Code
FD:
Vend_Code -> Vend_Name


Table 4: Product(Prod_Num, Vend_Code, Prod_Description, Prod_Price) | Primary key: Composite key of Prod_Num, Vend_Code | Foreign key here will be the Vend_Code will be referring to the Vendor(Vend_Code) | Foreign key: Prod_Num will refer to the Product(Prod_Num)
FD:
Prod_Num -> Vend_Code, Prod_Description, Prod_Price

Conversion complete for the tables into normalized forms.

**Please Hit Like if you appreciate my answer. For further doubts on the question or answer please drop a comment, I'll be happy to help. Thanks for posting.**

Add a comment
Know the answer?
Add Answer to:
VEND CODE -> VEND NAME Perry Computer Inc. uses the following INVOICE table keep track of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 3. Using the INVOICE table structure shown in Table P6.3, do the following: Table P6.3 a.  ...

    3. Using the INVOICE table structure shown in Table P6.3, do the following: Table P6.3 a.   Write the relational schema, draw its dependency diagram, and identify all dependencies, including all partial and transitive dependencies. You can assume that the table does not contain repeating groups and that an invoice number references more than one product. (Hint: This table uses a composite primary key.) b.   Remove all partial dependencies, write the relational schema, and draw the new dependency diagrams. Identify the...

  • need help! 1. To keep track of vendors and products they supply, XYZCorp. uses the table...

    need help! 1. To keep track of vendors and products they supply, XYZCorp. uses the table structure shown below. Assuming that the sample data are representative, draw a dependency diagram in Visio that shows all functional dependencies including both partial and transitive dependencies. (Hint: Look at the sample values to determine the nature of the relationships.) VEND TYPE Non-profit organization Non-profit organization Profit organization Profit organization Profit organization PART CODE 1234 PART DESC Logic Chip VEND NAME Fast Chips VEND...

  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • Suppose you have two tables: Table Product: PROD_ID PROD_NAME PROD_PRICE PROD_PROD_DATE PROD_VENDOR 1101 Table 100 1-Jan-18...

    Suppose you have two tables: Table Product: PROD_ID PROD_NAME PROD_PRICE PROD_PROD_DATE PROD_VENDOR 1101 Table 100 1-Jan-18 2 1102 Chair 80 3-Mar-18 3 1103 Armchair 90 6-May-18 2 1104 Nightstand 110 4-Apr-18 1 1105 Bed 200 3-Mar-18 3 1106 Dresser 150 5-May-18 3 1107 Daybed 190 10-Feb-18 2 Table Vendor: VEND_ID VEND_NAME VEND_ST 1 Green Way Inc GA 2 Forrest LLC NC 3 AmeriMart NC Post a question or provide an answer on the discussion board “Help with labs REQUIRED weekly...

  • data base Given the data model shown below, please define the following: 1) Table names 2)...

    data base Given the data model shown below, please define the following: 1) Table names 2) Primary keys for each table. If the key is composite, please indicate. 3) Foreign Keys for each table and what table/field the FK relates to 4) Define which table is the "Parent" and is the "Child" in the relationship. EMPLOYEE(Employee Number, ElastName, FirstName, EAddress, Ecity, EZipCode, EDepartCode) DEPARTMENT(DepartmentCode, DeptName, Dept Div) DIVISION(DivisionCode, DivName, DivvP) EPHONE(PhoneID, EmpNum, Phone Number, Phone Type) TTT Arial 3 (12pt)...

  • -- Schema definition create table Customer (     cid   smallint not null,     name varchar(20),    ...

    -- Schema definition create table Customer (     cid   smallint not null,     name varchar(20),     city varchar(15),     constraint customer_pk         primary key (cid) ); create table Club (     club varchar(15) not null,     desc varchar(50),     constraint club_pk         primary key (club) ); create table Member (     club varchar(15) not null,     cid   smallint     not null,     constraint member_pk         primary key (club, cid),     constraint mem_fk_club         foreign key (club) references Club,     constraint mem_fk_cust...

  • For this DATABASE homework assignment you will create an Entity Relationship model for a business case...

    For this DATABASE homework assignment you will create an Entity Relationship model for a business case and then convert the model to a set of relations.  Read through the following business case for the “Drum Corps International”  Create an Entity relationship model with the necessary entities, attributes, identifiers and relationships to capture the data requirements.  All relationships should be labeled with verb phrases.  Use UML notation for this work.  Relationship lines should not cross. ...

  • Project Description In this project, you will design and implement a database for keeping track of...

    Project Description In this project, you will design and implement a database for keeping track of information for an online “SOCIAL NETWORK” system (e.g. a simplified version of Facebook!). You will first design an EER schema diagram for this database application. Then, you will map the EER schema into a relational database schema and implement it on ORACLE or MySQL or some other relational DBMS. Finally, you will load some data into your database (via user Interface) and create some...

  • Given the following relational database schema (primary keys are bold and underlined). Answer questions 2.1 to 2.4 Orde...

    Given the following relational database schema (primary keys are bold and underlined). Answer questions 2.1 to 2.4 Orders(orderld, customerld, dateOrdered, dateRequired, status) Customer(customerld, customerLastName, customerStreet, customerCity, customerState, customer Lip OrderDetails(orderld.productld, quantity, lineNumber, amount) Products(productld, name, description, quantity, unitPrice) Account(accountNumber, customerld, dateOpened, creditCard, mailingStreet, mailingCity, mailingState, mailingZip) 2.1 (2 Points) List all possible foreign keys. For each foreign key list both the referencing and referenced relations. 2.2 (2 Points) Devise a reasonable database instance by filling the tables with data of...

  • for question (c) do like this 3. A table to record the information of Dentists, Patients,...

    for question (c) do like this 3. A table to record the information of Dentists, Patients, and Appointments in a clinic is given below. DentistNo DentistName PatientNo PatientName PatientPhone AppointmentDate Appointment Time AppointmentFee On a single day each patient can have more than one appointment. It is known that DentistNo is unique for each dentist. PatientNo is unique for each patient. PatientNo must not be used as a composite key. A patient is allowed to see any dentist. (a) Use...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT