0% found this document useful (0 votes)
15 views1 page

Norm - Home Work No2

The document is an assignment from Bulacan State University's College of Engineering, detailing an invoice from Hilltop Animal Hospital dated January 13, 2002, for pet vaccinations totaling $58.32. It outlines the normalization process of the invoice data through various normal forms (UNF, 1NF, 2NF, and 3NF), specifying the structure and keys used for database management. The assignment is submitted by a student named Clarisse Allyson DG Enriquez, for the BSCpE – 2C course.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

Norm - Home Work No2

The document is an assignment from Bulacan State University's College of Engineering, detailing an invoice from Hilltop Animal Hospital dated January 13, 2002, for pet vaccinations totaling $58.32. It outlines the normalization process of the invoice data through various normal forms (UNF, 1NF, 2NF, and 3NF), specifying the structure and keys used for database management. The assignment is submitted by a student named Clarisse Allyson DG Enriquez, for the BSCpE – 2C course.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Bulacan State University

College of Engineering
City of Malolos, Bulacan

Assignment No. 2
Database Management System

Name: Enriquez, Clarisse Allyson DG Score: _______________


Course Year & Section: BSCpE – 2C Date: March 9, 2025

INVOICE

HILLTOP ANIMAL HOSPITAL DATE: JAN 13/2002


INVOICE # 987

MR. RICHARD COOK


123 THIS STREET
MY CITY, ONTARIO
Z5Z 6G6

PET PROCEDURE AMOUNT

ROVER RABIES VACCINATION 30.00


MORRIS RABIES VACCINATION 24.00

TOTAL 54.00
TAX (8%) 4.32

AMOUNT OWING 58.32

UNF: invoice [ invoice_no, invoice_date, cust_name, cust_addr, (pet_name,


procedure, amount) ]

1NF: invoice [ invoice_no, invoice_date, cust_name, cust_addr]


invoice_pet [ invoice_no, pet_id, pet_name, procedure, amount ]
Note: pet_id was chosen as a key because pet_name is a character string and not a good key candidate

2NF: invoice [ invoice_no, invoice_date, cust_name, cust_addr]


invoice_pet [ invoice_no, pet_id, procedure, amount ]
pet [ pet_id, pet_name ]

3NF: invoice [ invoice_no, invoice_date, cust_name, cust_addr]


invoice_pet [ invoice_no(FK), pet_id(FK), procedure, amount ]
pet [ pet_id, pet_name ]
customer [ cust_no, cust_name, cust_street, cust_city, cust_pstlcd ]
note: cust_no was chosen as a key because cust_name is a character string and not a good key candidate.
The customer address was broken apart in 3NF. All foreign keys are identified.

You might also like