📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

If a product price is stored in both Product and OrderDetail tables, what risk arises?

A. Queries become impossible
B. The order cannot be inserted
C. The product cannot be deleted
D. The price in OrderDetail may differ from Product after a price change ✅

Correct Answer: D. The price in OrderDetail may differ from Product after a price change

Explanation

  • The two copies can diverge when the price changes.
  • OrderDetail often keeps the price at order time deliberately, which is controlled redundancy.