为什么这两个很简单的MySQL的创建表的语句总是提示错误???
useorclcreatetableacount(Operator_idINTnotnullprimarykey,NameVARCHAR(50)notnull,PassW...
use orclcreate table acount(Operator_id INT not null primary key, Name VARCHAR(50) not null, PassWord VARCHAR(50) not null, Status INT not null); use orclcreate table cc(a INT, b INT);
展开
展开全部
楼主,你的排版有点乱
use orcl;
create table acount(Operator_id INT not null primary key, Name VARCHAR(50) not null, PassWord VARCHAR(50) not null, Status INT not null);
create table cc(a INT,b INT); -------------------你这个出错了,a INT, b INT的逗号有问题
use orcl;
create table acount(Operator_id INT not null primary key, Name VARCHAR(50) not null, PassWord VARCHAR(50) not null, Status INT not null);
create table cc(a INT,b INT); -------------------你这个出错了,a INT, b INT的逗号有问题
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询