Bird
0
0

In a denormalized Sales table containing repeated CustomerEmail for each order, what issue might arise when updating a customer's email?

medium📝 query result Q4 of 15
SQL - Database Design and Normalization
In a denormalized Sales table containing repeated CustomerEmail for each order, what issue might arise when updating a customer's email?
AThe update will automatically propagate to all related tables
BSome rows may retain the old email causing inconsistent data
CThe database will reject the update due to normalization rules
DNo issues will occur since denormalization prevents redundancy
Step-by-Step Solution
Solution:
  1. Step 1: Identify denormalization effect

    Repeated data means multiple rows hold the same customer email.
  2. Step 2: Consider update impact

    Updating one row may not update all, causing inconsistent emails.
  3. Final Answer:

    Some rows may retain the old email causing inconsistent data -> Option B
  4. Quick Check:

    Redundant data updates can cause inconsistency [OK]
Quick Trick: Updates must be applied to all duplicates in denormalized tables [OK]
Common Mistakes:
  • Assuming updates propagate automatically
  • Believing denormalization eliminates redundancy
  • Confusing normalization constraints with denormalized tables

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes