I'm trying to create a table. Something is messed up and I can't figure it out. Here's the code and the error. CREATE TABLE vintage( 'Region' varchar( 50 ) NOT NULL , PRIMARY KEY ( Region ) ); MySQL said: Documentation #1064 - 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 ''Region' varchar(50) NOT NULL, PRIMARY KEY ( Region ) );' at line 2
Just drop the quotes around the column name. CREATE TABLE Vintage (Region varchar(50) NOT NULL, PRIMARY KEY (Region) ); should work for you.
Yes i think this REATE TABLE Vintage (Region varchar(50) NOT NULL, PRIMARY KEY (Region) ); this in the php sistem by SLQ