CREATE TABLE Klient ( Id_klienta INT NOT NULL PRIMARY KEY, surname NVARCHAR(50) NOT NULL, firstname NVARCHAR(50) NOT NULL, middlename NVARCHAR(50) NULL, telefon NVARCHAR(50) NULL, ); CREATE TABLE Sotrudnik ( Id_sotrudnika INT NOT NULL PRIMARY KEY, surname NVARCHAR(50) NOT NULL, firstname NVARCHAR(50) NOT NULL, middlename NVARCHAR(50) NULL, dolzhnost NVARCHAR(50) NULL, telefon NVARCHAR(50) NULL, pasport NVARCHAR(50) NULL ); CREATE TABLE Shoes ( Id_shoes INT NOT NULL PRIMARY KEY, nazvanie NVARCHAR(50) NOT NULL, prise FLOAT NOT NULL, material NVARCHAR(50) NOT NULL, Id_razmer INT NOT NULL, Id_vid INT NOT NULL, Id_sezon INT NOT NULL, Quantity INT NOT NULL, Photo VARBINARY(MAX) ); CREATE TABLE Zakaz ( Id_zakaz INT NOT NULL PRIMARY KEY, datta DATE NOT NULL, skidka FLOAT NULL, summa FLOAT NULL, Id_klienta INT NOT NULL, Id_sotrudnika INT NOT NULL ); CREATE TABLE Razmer ( Id_razmer INT NOT NULL PRIMARY KEY, Russia NVARCHAR(50) NOT NULL, Europe NVARCHAR(50) NOT NULL, Centimeters FLOAT NULL, ); CREATE TABLE Vid ( Id_vid INT NOT NULL PRIMARY KEY, vid NVARCHAR(50) NOT NULL ); CREATE TABLE Sezon ( Id_sezon INT NOT NULL PRIMARY KEY, vid_sezona NVARCHAR(50) NOT NULL ); CREATE TABLE Soderzhimoe_zakaza ( Id_soderzhimoe INT NOT NULL PRIMARY KEY IDENTITY, Kolichestvo INT NOT NULL, Id_zakaz INT NOT NULL, Id_shoes INT NOT NULL ); CREATE TABLE Users ( Id_user INT PRIMARY KEY NOT NULL, login NVARCHAR(50) NOT NULL, parol NVARCHAR(50) NOT NULL, role NVARCHAR(50) NOT NULL );