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
-> <
-> 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
(
deptno int not null,
dname varchar(14),
loc varchar(13),
primary key (deptno)
);