Update 03_Sql_html/schema.sql
Removed ENGINE
This commit is contained in:
parent
05c6b2f058
commit
ccbb10659a
@ -14,7 +14,7 @@ CREATE TABLE Boxes (
|
|||||||
Warehouse INTEGER NOT NULL,
|
Warehouse INTEGER NOT NULL,
|
||||||
PRIMARY KEY (Code),
|
PRIMARY KEY (Code),
|
||||||
FOREIGN KEY (Warehouse) REFERENCES Warehouses(Code)
|
FOREIGN KEY (Warehouse) REFERENCES Warehouses(Code)
|
||||||
) ENGINE=INNODB;
|
) ;
|
||||||
|
|
||||||
INSERT INTO Warehouses(Code,Location,Capacity) VALUES(1,'Chicago',3);
|
INSERT INTO Warehouses(Code,Location,Capacity) VALUES(1,'Chicago',3);
|
||||||
INSERT INTO Warehouses(Code,Location,Capacity) VALUES(2,'Chicago',4);
|
INSERT INTO Warehouses(Code,Location,Capacity) VALUES(2,'Chicago',4);
|
||||||
|
Loading…
Reference in New Issue
Block a user