miluk161
2022-03-23 11:07
采纳率: 100%
浏览 46

mysql数据库创建表报错,不理解

mySQL版本为5.5
' at line 1

mysql> create table(
部门编号 char(3) not null primary key
部门名称 char(20) not null
备注 text);
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 '(
部门编号 char(3) not null primary key
部门名称 char(20) not null
' at line 1

3条回答 默认 最新