[mysql] create Orders

Viewer

copydownloadembedprintName: create Orders
  1. CREATE TABLE Orders (
  2.     OrderID int NOT NULL,
  3.     OrderNumber int NOT NULL,
  4.     PersonID int,
  5.     PRIMARY KEY (OrderID),
  6.     FOREIGN KEY (PersonID) REFERENCES Persons(PersonID)
  7. );

Editor

You can edit this paste and save as new: