您始终可以在每次选择之间INSERT INTO...SELECT ..FROM dual
使用使用 a 的位置:UNION ALL
insert into EMP (empno,ename,job,mgr,sal,deptno)
select 4600,'BOB','CONSULT',4699,900,60
from dual
union all
select 5300,'AILEEN','MANAGER',7839,1800,40
from dual
union all
select 9873,'RYAN','CONSULT',4699,800,50
from dual;
请参阅带有演示的 SQL Fiddle
或者您可以使用:
INSERT ALL
INTO emp (empno, ename, job, mgr, sal, deptno)
VALUES (4600, 'BOB', 'CONSULT', 4699, 900, 60)
INTO emp (empno, ename, job, mgr, sal, deptno)
VALUES (5300, 'AILEEN', 'MANAGER', 7839, 1800, 40)
INTO emp (empno, ename, job, mgr, sal, deptno)
VALUES (9873, 'RYAN', 'CONSULT', 4699, 800, 50)
SELECT *
FROM dual;
请参阅带有演示的 SQL Fiddle