``sql,CREATE TABLE Products (, ProductID INT PRIMARY KEY,, ProductName VARCHAR(255),, Category VARCHAR(100),, Price DECIMAL(10, 2),, Stock INT,);,,CREATE TABLE Users (, UserID INT PRIMARY KEY,, Username VARCHAR(255),, Password VARCHAR(255),, Email VARCHAR(255),);,,CREATE TABLE Orders (, OrderID INT PRIMARY KEY,, UserID INT,, OrderDate DATETIME,, FOREIGN KEY (UserID) REFERENCES Users(UserID),);,,CREATE TABLE OrderDetails (, OrderDetailID INT PRIMARY KEY,, OrderID INT,, ProductID INT,, Quantity INT,, FOREIGN KEY (OrderID) REFERENCES Orders(OrderID),, FOREIGN KEY (ProductID) REFERENCES Products(ProductID),);,
``