我收到此语法错误,需要帮助 -
ORA-00902:数据类型无效
CREATE TABLE Customer
( custno INTEGER NOT NULL,
custname CHAR(6) NOT NULL,
address VARCHAR(50) NOT NULL,
internal CHAR(1) NOT NULL,
contact CHAR(15) NOT NULL,
phone INTEGER NOT NULL,
city CHAR(12) NOT NULL,
state CHAR(10) NOT NULL,
zip INTERGER NOT NULL,
primary key(custno)
);
答案 0 :(得分:1)
你在zip上写了INTERGER
而不是INTEGER
。