안녕을 던졌습니다하지만 난 점점 계속 이 오류가 발생합니다 :만들기 표는 내가 MySQL의에서 SQL을 사용하여 테이블을 만들려고하고 오류를
#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 'CREATE TABLE `categories` (`id` SMALLINT NOT NULL AUTO_INCREMENT, `category` ' at line 2
무엇이 잘못 되었나요? 당신이이 개 질문이 당신의 코드에서 use
USE e-commerce;
CREATE TABLE `categories` (
`id` SMALLINT NOT NULL AUTO_INCREMENT,
`category` VARCHAR(30) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `category` (`category`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
@MahmoudGamal 시도 : 감사의 친구를. –