TABLE 1: Content of the OrderDetailsLog Table
LogID OrderID ProductID Quantity Remarks
1 10248 1 10 Violation of PRIMARY KEY
2 10247 1 10 Violation of FOREIGN KEY to Orders
3 10248 0 10 Violation of FOREIGN KEY to Products
4 10248 2 -1 Violation of CHECK (Quantity > 0)
5 10247 0 -1 Violation of FOREIGN KEY to Orders
6 10247 0 -1 Violation of FOREIGN KEY to Products
7 10247 0 -1 Violation of CHECK (Quantity > 0)