在Oracle中插入查询

时间:2018-10-30 14:48:27

标签: sql oracle sql-insert

我在这里找不到错误

insert into sailors values(&sid, "&sname", &RATING, &AGE);
Enter value for sid: S101
Enter value for sname: Albert
Enter value for rating: 5
Enter value for age: 20
old   1: insert into sailors values(&sid, "&sname", &RATING, &AGE)
new   1: insert into sailors values(S101, "Albert", 5, 20)
insert into sailors values(S101, "Albert", 5, 20)
                                 *
ERROR at line 1:
ORA-00984: column not allowed here

0 个答案:

没有答案