i have these 2 sql for creating 2 tables in my database, what i have to write to show that is one to many relationsip? [one supplier to many order status]
CREATE TABLE Suppliers(
SupplierID nVarChar(10) NOT NULL CONSTRAINT Suppliers_PK PRIMARY KEY,
CompanyName nvarchar(40) NOT NULL,
Description nvarchar(100) NULL,
SortOrder int NOT NULL DEFAULT(50),
Active bit NOT NULL DEFAULT (1)
)
GO
CREATE TABLE OrderStatus(
OrderStatus nChar(10) NOT NULL CONSTRAINT OrderStatus_PK PRIMARY KEY,
Status nvarchar(40) NOT NULL,
Description nvarchar(100) NULL,
SortOrder int NOT NULL DEFAULT(50),
Active bit NOT NULL DEFAULT (1)
)