Generate statements (ddl) to create all objects from the ERD. These must be valid SQL statements. It is recommended you use SQLFiddle to post working examples. Submit an URL where your work is located, with valid code.
I would have used SQL fiddle but it doesn't seem like it agrees with the constraint syntax even though it's working fine in my local database. I used this exact snippet to populate my database on the school server.
This is the ddl I used to create my tables (just a segment of the full ddl): CREATE TABLE Orders ( OrderNumber int(9) NOT NULL, ShipByDate datetime, TimePrinted datetime, ItemsOrdered varchar(255), TotalCost decimal(10,2), PRIMARY KEY (OrderNumber) ) ;