- CREATE TABLE [user](
- [user_name] VARCHAR(128) NOT NULL,
- [address] VARCHAR(128) NOT NULL,
- [mobile] VARCHAR(15) NOT NULL,
- [user_id] INTEGER NOT NULL,
- CONSTRAINT pk PRIMARY KEY (user_id)
- );
-
CONSTRAINT pk PRIMARY KEY (user_id)
pk是键名(添入你想填的名称)