Bird
0
0

Given a denormalized table Orders with columns OrderID, CustomerName, and CustomerAddress repeated in every row, what is a likely effect when updating a customer's address?

medium📝 Conceptual Q13 of 15
SQL - Database Design and Normalization
Given a denormalized table Orders with columns OrderID, CustomerName, and CustomerAddress repeated in every row, what is a likely effect when updating a customer's address?
AYou must update the address in every order row for that customer
BUpdating one row automatically updates all related rows
CNo update is needed because address is stored separately
DThe database prevents duplicate addresses
Step-by-Step Solution
Solution:
  1. Step 1: Understand denormalized update effects and analyze options

    In denormalized tables, repeated data means updates must be applied to all copies to keep consistency. Only "You must update the address in every order row for that customer" correctly states that all rows must be updated manually.
  2. Final Answer:

    You must update the address in every order row for that customer -> Option A
  3. Quick Check:

    Repeated data requires multiple updates [OK]
Quick Trick: Repeated data means multiple updates needed for consistency [OK]
Common Mistakes:
  • Assuming one update changes all rows automatically
  • Thinking address is stored separately in denormalized tables
  • Believing database prevents duplicates in denormalized data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes