我在mysql中新建表时出现了错误,请大家帮帮忙。
ERROR 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 ')' at line 2 SQL Statement: CREATE TABLE `test`.`aaa` ( )
追问:请问应该怎么改
ERROR 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 ')' at line 2 SQL Statement: CREATE TABLE `test`.`aaa` ( )
追问:请问应该怎么改
答案:大哥,字段最少要一列!
CREATE TABLE `test`.`aaa` (
`test` int(11) NULL DEFAULT NULL
)
其他:进入test数据库
CREATE TABLE `aaa` (
) 你sql语句第二行的错 代码写错了吧
上一个:安装了两个mysql
下一个:mysql中用哪条命令进行增量备份???