关于网友提出的“ MySQL下创建表出现错误,刚学,求鉴定”问题疑问,本网通过在网上对“ MySQL下创建表出现错误,刚学,求鉴定”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: MySQL下创建表出现错误,刚学,求鉴定
描述: mysql> create table dept
-> <
-> deptno int primary key,
-> dname varchar<14>,
-> loc varchar<13>
-> >;
提示说: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
解决方案1: create table dept
(
deptno int not null,
dname varchar(14),
loc varchar(13),
primary key (deptno)
);
以上介绍了“ MySQL下创建表出现错误,刚学,求鉴定”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/3104053.html