It's needed. The arrow coming out of [column-def] (visually) goes past [table-constraint] first, with the option to loop down to a comma on its way to a [table-constraint]
-----Original Message----- From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Niall O'Reilly Sent: Tuesday, November 22, 2016 9:22 AM To: SQLite mailing list Subject: Re: [sqlite] CREATE TABLE fails I was going to add "missing comma before PRIMARY" as well, but https://www.sqlite.org/lang_createtable.html doesn't seem to indicate that a comma is required between a column-def and a table-constraint. Best regards, Niall O'Reilly _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users