CREA
TABLE tb3(
id SMALLINT UNSIGNED AUT
O_INCREMENT PRIMARY KEY; USE TEST
Database changed
mysql> at line 1
mysql>
Empty set (0; CREA TABLE tb3(
->SELEC
E DATABASE()' check the manual that
corresponds to your MySQL server version for the right syntax to use near ' ): You have an error in your SQL syntax; SELECE DATABASE(); check the manual that
corresponds to your MySQL server version for the right syntax to use near ',
username VARCHA'mysql>
ERROR 1064 (42000): You have an error in your SQL syntax; ;
ERROR 1064 (42000); SHOW TEBLES
-> SHOW TABLES;
ERROR 1064 (42000);TEBLE
S' username VARCHAr(30) NOT NULL
-> id SMALLINT UNSIGNED AUTO_INCREMENT PRIMARY KEY; at line 1
mysql>.00 sec)
mysql>,
->: 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 ' at line 1
mysql>
请问为什么我数据库不能建表呢?
答案:2 悬赏:30
解决时间 2021-02-28 08:01
- 提问者网友:巴黎塔下许过得承诺
- 2021-02-27 15:42
最佳答案
- 二级知识专家网友:初心未变
- 2021-02-27 16:58
...是create
全部回答
- 1楼网友:猖狂的痴情人
- 2021-02-27 17:45
唯一标识
具体看是什么数据库
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯