an anonymous user ·· SQL
CREATE TABLE Manufacturers ( Code INTEGER PRIMARY KEY NOT NULL, Name CHAR(50) NOT NULL ); CREATE TABLE Products ( Code INTEGER PRIMARY KEY NOT NULL, Name CHAR(50) NOT NULL , Price REAL NOT NULL , Manufacturer INTEGER NOT NULL CONSTRAINT fk_Manufacturers_Code REFERENCES Manufacturers(Code) );
Click on the Run button to get started.
The code/input has changed since you last clicked on Run. Click it again to see the updated changes.