Question

Analyze and explain the normalization steps for this problem: VETERINARY_OFFICE (PetID, PetName, PetType, PetBreed, OwnerID, OwnerLastName,...

Analyze and explain the normalization steps for this problem: VETERINARY_OFFICE (PetID, PetName, PetType, PetBreed, OwnerID, OwnerLastName, OwnerFirstName, ServiceDescription, ServiceDate, ServiceCharge)

The functional dependencies are given below:

PetID -> PetName, PetType, PetBreed, OwnerID, OwnerLastName, OwnerFirstName

OwnerID -> OwnerLastName, OwnerFirstName

ServiceDescription -> ServiceCharge

PetID, ServiceDate > ServiceDescription, ServiceCharge

Assumption: A pet belongs to only one owner, while an owner may have more than one pet. A pet receives at most one treatment on any given date. Use the functional dependencies above to answer the following three questions. Use relational notation for all relations in your answers.

I already know what the 1NF, 2NF, & 3NF are, I just need help writing and explaing the steps of normalization


Use the functional dependencies above to answer the following questions. Use detail steps or intermediate steps to answer the questions

A. Show the 1NF in relational notation and indicate the primary key.

B. Show all partial dependency in the relation only (if any) and identify the 2NF. Show primary keys and foreign keys references. Use relational notation.

C. Show all transitive dependency in your answer to question b (if any) and identify 3NF (show all relations). Show primary keys and foreign keys references. Use relational notation

Homework Answers

Answer #1

(a) There is just one table. So, the table ought to right now be in 1NF . The PetID and OwnerID are primary keys.

(b)The OwnerLastName and OwnerFirstName are selective to the OwnerID. The PetName, PetType and PetBreed are PetID's unique attributes. Carrying the table into 2NF would mean maneuvering the owner into their own table.
Owner: OwnerID, OwnerName
Pet: OwnerID, PetID, PetName, PetType, PetBreed, ServiceCharge, ServiceDate and ServiceDescription


(c) The identify 3NF may look like this

Owner: OwnerID, OwnerName
Pet: OwnerID, PetID, PetName, PetType, PetBreed
Services: PetID, ServiceDescription, ServiceDate, ServiceCharge

Know the answer?
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
Similar Questions
Suppose we have the following relation R with composite primary key {A,B} together with the set...
Suppose we have the following relation R with composite primary key {A,B} together with the set FD of functional dependencies: R(A,B,C,D,E,F,G). FD = { C -> G, E -> B, A -> D, AB -> C, AB -> D, AB -> E. AB -> F, AB -> G } Draw the initial dependency diagram using the above information. The relation from part a) is in first normal form. Using the techniques described in the lecture, convert it to 2NF by...
Instructions: Step 1: Create UNF Relation from a User View. The goal here is to create...
Instructions: Step 1: Create UNF Relation from a User View. The goal here is to create a single relation for the data found in the user view. The method used is: •   Examine the user view •   Identify all attributes •   Describe the user view using DBDL Here is an example of a user view. This reports lists the customers of the Premiere Corporation. Premiere Corporation Customer List CustNo   Name   Street   City   State   ZipCode   SalesRepNo 124    Sally Adams   482...
Oracle Database Analysis and Design This project is to develop and implement an Oracle database. See...
Oracle Database Analysis and Design This project is to develop and implement an Oracle database. See the scenario of the Investment database. This simplified Investment Portfolio case study maintains information regarding clients that invest in stocks and mutual funds. Each client has a unique taxpayer identification number. A client may invest in stocks or mutual funds. A stock is uniquely identified by its ticker, which is symbol on the stock exchange. The name of issue for a stock is the...
SQL DATABASE Task 4 [1.5 marks] Create Index (0.5 marks) Currently, the database only contains a...
SQL DATABASE Task 4 [1.5 marks] Create Index (0.5 marks) Currently, the database only contains a small number of records. However, the data contained within it is expected to grow significantly in the future. Creating indexes on commonly searched columns is a way performance issues can be minimized. Write a command to create an index on student_name column of the student table. Create view – 1 mark Write a command to create a view to list the student ID and...
Show all work method/steps, Computations, Calculations, Explain, list any applicable source/web applets, etc... A health educator...
Show all work method/steps, Computations, Calculations, Explain, list any applicable source/web applets, etc... A health educator was interested in determining whether college students at her college really do gain weigh during their freshman year. A random sample of 5 college students was chosen and the weight for each student was recorded in August and May. Does the data below suggest that college students gain weight during their freshman year? The health educator wants to use a 0.05 significance level to...
Garden Glory Project Questions Assume that Garden Glory designs a database with the following tables: OWNER...
Garden Glory Project Questions Assume that Garden Glory designs a database with the following tables: OWNER (OwnerID, OwnerName, OwnerEmail, OwnerType) OWNED_PROPERTY (PropertyID, PropertyName, PropertyType, Street, City, State, Zip, OwnerID) GG_SERVICE (ServiceID, ServiceDescription, CostPerHour); EMPLOYEE (EmployeeID, LastName, FirstName, CellPhone, ExperienceLevel) PROPERTY_SERVICE ( PropertyServiceID , PropertyID , ServiceID, ServiceDate , EmployeeID, HoursWorked) The referential integrity constraints are: OwnerID in OWNED_PROPERTY must exist in OwnerID in OWNER PropertyID in PROPERTY_SERVICE must exist in PropertyID in OWNED_PROPERTY ServiceID in PROPERTY_SERVICE must exist in ServiceID...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT