CREATE TABLE IF NOT EXISTS references(
id INTEGER NOT NULL AUTO_INCREMENT,
title VARCHAR(25),
name VARCHAR(25),
profession VARCHAR(25),
address VARCHAR(25),
city VARCHAR(25),
state VARCHAR(25),
country VARCHAR(25),
mobileNumber VARCHAR(25),
emailAddress VARCHAR(25),
referenceType VARCHAR(25),
applicant_id INTEGER,
PRIMARY KEY(id)
);
The error:
SQL State : 42000
Error Code : 1064
Message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references(
id INTEGER NOT NULL AUTO_INCREMENT,
title VARCHAR(25),
name VA' at line 1
I have no idea what the error means by name VA' and the query has name VARCHAR(25)