Database Flashcards

1
Q

Updation anomaly

A

Data inconsistency that occurs when information is changed in one place and not in other. For example, If we have table containing employee name, dept, dept address.

Suppose we wish to change dept add of a dept, in this case we would have to update the address in every record containing the dept. This is a bad databse design

Instead we can decompose the table into 2 smaller table that would contain employee and dept and the other table containing dept and it’s address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Deletion anomaly

A

A deletion anomaly occurs when deleting a record from a database unintentionally removes other data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly