2016-11-04 67 views
0

例如,我有兩個表名爲Manager_OrderBook_Inventory屬性A基於屬性B(Microsoft SQL Server 2014)

Manager_Order(
    ID (PK), 
    Book_Name, 
    Quantity (Attribute A) 
) 

Book_Inventory(
    ID (PK), 
    Book_Name (FK on Manager_Order), 
    Quantity (Attribute B) 
) 

每次經理作出命令,我想自動的數量Book_Inventory更新。

回答