Mysql – What's wrong with my foreign key in my SQL code?
CREATE TABLE Bagel ( BagelID CHAR(2) NOT NULL, BagelName VARCHAR(30), BagelPrice DECIMAL(4,2), BagelDesc VARCHAR(30), PRIMARY KEY (BagelID)); CREATE TABLE Customer ( CustID INT NOT NULL, FirstName VARCHAR(30), LastName VARCHAR(60), Address1 VARCHAR(60), Address2 VARCHAR(60), City VARCHAR(30), State CHAR(2), Zip INT, MobilePhone…