Retail_manager/RMData/dbo/Tables/SaleDetail.sql

11 lines
254 B
MySQL
Raw Normal View History

CREATE TABLE [dbo].[SaleDetail]
(
[Id] INT NOT NULL PRIMARY KEY IDENTITY,
[SaleId] INT NOT NULL,
[ProductId] INT NOT NULL,
[Quantity] INT NOT NULL DEFAULT 1,
[PurchasePrice] MONEY NOT NULL,
[Tax] MONEY NOT NULL DEFAULT 0,
)