1. What problem can duplicated customer addresses create?
- Guaranteed faster correctness
- Automatic encryption
- Update anomalies
Check the answer and reasoning
Update anomalies
Updating one copy but not another can leave contradictory facts.
CS / AS level
Relations connect records using primary and foreign keys. Entity relationships and normalisation reduce anomalies by assigning facts to appropriate tables.
Relations connect records using primary and foreign keys. Entity relationships and normalisation reduce anomalies by assigning facts to appropriate tables.
SQL selects, joins, groups and aggregates records. Distinguish filtering individual rows with WHERE from filtering aggregated groups with HAVING; a join needs a meaningful relationship condition.
Orders.customer_id references Customers.id. Which is the foreign key?
It links an order to a customer’s primary key.
Predict the worked result before calculating. Change one input, record the new result, and explain which assumptions still hold.
Use the prediction activity below; a local model appears only where it supports this topic.
Update anomalies
Updating one copy but not another can leave contradictory facts.
Orders.customer_id
It links an order to a customer’s primary key.
No
It organises dependencies; repeated foreign-key values may correctly represent many related records.