CREATE TABLE NEW(
ID NUMBER,
FIRST_NAME VARCHAR2(30),
LAST_NAME VARCHAR2(30),
MAJOR VARCHAR2(30)
);
INSERT ALL
INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(1,'JOHN','BROWN','COMPUTER SCIENCE')
INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(2,'ALEXANDER','STAN','SINGER')
INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(3,'JOHNNY','DEPP','STRIPPER')
INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(4,'BRAD','PITT','PERFORMER')
SELECT* INTO DUAL;
答案 0 :(得分:0)
您使用的是from dual
,这是不正确的。应该是SQL>
SQL> CREATE TABLE NEW(
2 ID NUMBER,
3 FIRST_NAME VARCHAR2(30),
4 LAST_NAME VARCHAR2(30),
5 MAJOR VARCHAR2(30)
6 );
Table created.
SQL>
SQL>
SQL> INSERT ALL
2 INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(1,'JOHN','BROWN','COMPUTER SCIENCE')
3 INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(2,'ALEXANDER','STAN','SINGER')
4 INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(3,'JOHNNY','DEPP','STRIPPER')
5 INTO NEW(ID,FIRST_NAME,LAST_NAME,MAJOR) VALUES(4,'BRAD','PITT','PERFORMER')
6 SELECT * FROM DUAL;
4 rows created.
SQL>
;
$(document).ready( ()=> {
...
});