📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Why is a derived attribute usually NOT stored in a database?

A. It is always a primary key
B. It has no value at all
C. Its value can be calculated whenever needed, so storing it risks inconsistency ✅
D. It cannot be calculated

Correct Answer: C. Its value can be calculated whenever needed, so storing it risks inconsistency

Explanation

  • Storing a derived value duplicates information and can become out of date.
  • It is normally computed on demand.