I have an issue when creating a new table.
Here is my query:
CREATE TABLE 'pendaftar' (
'id' int(10) NOT NULL AUTO_INCREMENT,
'tgl' DATE NOT NULL,
'nopol' VARCHAR (10) NOT NULL,
'motor' VARCHAR (50) NOT NULL,
'servis' VARCHAR (50) NOT NULL,
'keluhan' LONGTEXT NOT NULL
PRIMARY KEY (id));
The error message I receive is:
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 ''pendaftar' ('id' int(10) NOT NULL AUTO_INCREMENT,'tgl' DATE NOT NUL' at line 1
Please help me fix this issue.