Anul 3 Semestrul 2

This commit is contained in:
2025-07-03 20:56:38 +03:00
parent 184f3bd92e
commit 3b7fb85767
269 changed files with 20955 additions and 0 deletions
@@ -0,0 +1,18 @@
CREATE TABLE [dbo].[Orders]
(
[hmy] INT IDENTITY (1, 1) NOT NULL,
[hCustomer] NVARCHAR (MAX) NOT NULL,
[sStatus] INT NOT NULL DEFAULT 0,
CONSTRAINT [PK_Orders] PRIMARY KEY CLUSTERED ([hmy] ASC)
);
CREATE TABLE [dbo].[OrderItems]
(
[hmy] INT IDENTITY (1, 1) NOT NULL,
[hOrder] INT NOT NULL,
[hProduct] INT NOT NULL,
[iQuantity] INT NOT NULL DEFAULT 1,
[dPrice] DECIMAL (18, 2) NOT NULL,
[sProductName] NVARCHAR (MAX) NOT NULL,
CONSTRAINT [PK_OrderItems] PRIMARY KEY CLUSTERED ([hmy] ASC)
);