Database Assignment 2
Database Assignment 2
Question 1a)
i)An insertion anomaly is the inability to add data to the database due to the absence of other data.
There is missing data for record BITH01, row two of Database MySQL, BITH02 Programming
has got row missing data on five columns.
ii) (ii) Modification anomaly- An update anomaly is a data inconsistency that results from data
redundancy and a partial update. For example, each book in a department is associated with BookID
BookTitle, as well as the BookCategory.
iii) A deletion anomaly is the unintended loss of data due to the deletion of other data. For example,
if data is deleted from the first two rows of two records, The MySQL and Programming files will be
deleted as well.
T114 Visual 40
Prog
WB09 Web Prog 33
C020 Cloud 27
Comp
C020 Cloud 27
Comp
K02 Soft
Testing
Publisher_Table
Publisher PublisherNa
ID me
Z101 Zambuko
Z101 Zambuko
Z101 Zambuko
ZOU Zambuko
TC010 Gramsol
Course_Table
CourseID CourseNam
e
T113 Oracle
M204 MySql
Order_Table
OrderCopy
100
120
40
33
27
27
NULL
Question 2