2A.
Updation anomaly:
If an owner's email is changed, it has to be updated in all the places . for example if the email of James Richard is changed, it has to be updated in 3 rows. If all rows are not updated , inconsistency exists in the database.
Deletion anomaly:
If a pet dies and his information is deleted from the table, his owner's information will also get deleted. for example if the pet dog AJ dies and his information is deleted from the table, his owner information will also get deleted.
B.
The solution to the above mentioned problem is Normalization.
Normalized tables
PET(PetName, PetType, PetBreed, PetDOB, OwnerPhone)
OWNER(OwnerPhone, OwnerLastName, OwnerFirstName, OwnerEmail)
underlined are primary keys and italicised are foreign keys.
3.
Data is raw facts like India, 45, James.
Processed and organized data is called information like customer country is India, his age is 45 and customer name is James.
Do ask if any doubt. Please upvote.
The figure below shows a list used by a veterinary office. Refer to the list and...
2.1 Apply the normalization process to the Veterinary Office List–Version One relation shown in Figure 1-34 (see page 63 and below) to develop a set of normalized relations. Show the results of each of the steps in the normalization process. 1 PetName 2 King 3 Teddy 4 Fido 5 AJ 6 Cedro 7 Woolley 8 Buster 9 Jiddah PetType Dog Cat Dog Dog Cat Cat Dog Cat C P etBreed Std. Poodle Cashmier Std. Poodle Collie Mix Unknown Unknown Border...
Examine the determinants of the functional dependencies. If any
determinant is not a candidate key, the relation is not well
formed. In this case: a. Place the columns of the functional
dependency in a new relation of their own. b. Make the determinant
of the functional dependency the primary key of the new relation.
c. Leave a copy of the determinant as a foreign key in the original
relation. d. Create a referential integrity constraint between the
original relation and...
Sample data for these tables are shown in Figures 3-26 and 3-27. For each SQL statement you write, show the results based on these data. If possible, run the statements you write for the questions that follow in an actual DBMS, as appropriate, to obtain results. Use data types that are consistent with the DBMS you are using. If you are not using an actual DBMS, consistently represent data types by using either the MySQL, Microsoft SQL Server, or Oracle...