@@ -271,8 +271,8 @@ CREATE TABLE people (
271
271
example, with the above definitions and assuming additional appropriate
272
272
columns, writing
273
273
<programlisting>
274
- INSERT INTO people (name, address) VALUE ('A', 'foo');
275
- INSERT INTO people (name, address) VALUE ('B', 'bar');
274
+ INSERT INTO people (name, address) VALUES ('A', 'foo');
275
+ INSERT INTO people (name, address) VALUES ('B', 'bar');
276
276
</programlisting>
277
277
would generate values for the <literal>id</literal> column starting at 1
278
278
and result in the following table data:
@@ -285,7 +285,7 @@ INSERT INTO people (name, address) VALUE ('B', 'bar');
285
285
Alternatively, the keyword <literal>DEFAULT</literal> can be specified in
286
286
place of a value to explicitly request the sequence-generated value, like
287
287
<programlisting>
288
- INSERT INTO people (id, name, address) VALUE (<emphasis>DEFAULT</emphasis>, 'C', 'baz');
288
+ INSERT INTO people (id, name, address) VALUES (<emphasis>DEFAULT</emphasis>, 'C', 'baz');
289
289
</programlisting>
290
290
Similarly, the keyword <literal>DEFAULT</literal> can be used in
291
291
<command>UPDATE</command> commands.
0 commit comments