AGAIN, you are missing the COMMA!
You must have a COMMA after every declaration in the CREATE TABLE.
By the by, this is true in MySQL, SQL Server, Access, and most other DBs.
It would help if you would realize *WHERE* the declarations start and begin.
Thus:
Code:
Create Table Pizza(
itemCode int IDENTITY,
pizzaName nvarchar(25) NOT NULL,
baseType nvarchar(25),
PRIMARY KEY(itemCode),
CONSTRAINT FK_Pizza_Bases FOREIGN KEY(baseType) REFERENCES Pizza(baseType)
)
The lines in red and magenta show you the separate element declarations in that statement.
And by the by, this *IS* the MySQL forum. Your question is not about MySQL.