The following statement inserts a row into the dept table:
INSERT INTO dept
VALUES (50, 'PRODUCTION', 'SAN FRANCISCO', 5);
Example B
The following statement inserts a row with six columns into the emp table. One is assigned NULL and another is assigned a number in scientific notation:
INSERT INTO emp (empno, ename, job, sal, comm, deptno)
VALUES (7890, 'JINKS', 'CLERK', 1.2E3, NULL, 40);
Example C
The following statement inserts a set of rows into the emp table:
INSERT INTO emp (empno, ename, job, sal, comm, deptno)
VALUES (
(7000, 'JANE', 'CLERK', 1.2E3, NULL, 40),
(7010, 'KATE', 'PRESIDENT', 3510.25, 12.50, 40),
(7020, 'MARK', 'MANAGER', 1500.00, 10.75, 40));
Example D
The following examples demonstrate how to use expressions in the VALUE clause of an INSERT statement: