Answer the question
In order to leave comments, you need to log in
Where is the error in the SQL command to create the table?
Error while executing the script:
CREATE TABLE users (
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
login NOT NULL PRIMARY KEY VARCHAR(255),
password NOT NULL PRIMARY KEY VARCHAR(255)
);
ERROR 1064 (42000):
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 'NOT NULL PRIMARY KEY VARCHAR(255)
, password NOT NULL PRIMARY KEY VARCHAR(255))' at line 1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question