diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index 220683b5eb4..c150dd217f9 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -271,8 +271,8 @@ CREATE TABLE people ( example, with the above definitions and assuming additional appropriate columns, writing -INSERT INTO people (name, address) VALUE ('A', 'foo'); -INSERT INTO people (name, address) VALUE ('B', 'bar'); +INSERT INTO people (name, address) VALUES ('A', 'foo'); +INSERT INTO people (name, address) VALUES ('B', 'bar'); would generate values for the id column starting at 1 and result in the following table data: @@ -285,7 +285,7 @@ INSERT INTO people (name, address) VALUE ('B', 'bar'); Alternatively, the keyword DEFAULT can be specified in place of a value to explicitly request the sequence-generated value, like -INSERT INTO people (id, name, address) VALUE (DEFAULT, 'C', 'baz'); +INSERT INTO people (id, name, address) VALUES (DEFAULT, 'C', 'baz'); Similarly, the keyword DEFAULT can be used in UPDATE commands.