Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在北风贸易商数据库中,单价列在产品和 [订单详细信息] 表中。两张表都列出了同一产品的不同价格。这是冗余还是对此有解释?
这是有原因的。
当您更改产品的价格时,您不希望包含该产品的所有订单也发生变化。您需要 [Order Details] 表中的单价来保存历史记录。