一.创建主键的三种方式 1. CREATE TABLE user( uid INT PRIMARY KEY, uname VARCHAR(10), address VARCHAR(20) ) 2. CREATE TABLE user( uid INT, uname VARCHAR(10), address VARCHAR(20), PRIMARY KEY(uid) ) 3. CREATE TABLE user( uid INT, uname VARCHAR(10), address VARCHA…