Small. Fast. Reliable.
Choose any three.

表约束

CONSTRAINT name PRIMARY KEY ( indexed-column ) conflict-clause , UNIQUE CHECK ( expr ) FOREIGN KEY ( column-name ) foreign-key-clause ,

使用者 :   create-table-stmt

参考:   冲突子句   expr   外键子句   indexed-column

另请参见:   lang_createtable.html