CREATE DATABASE db_test; USE db_test; CREATE TABLE USER( uid INT PRIMARY KEY AUTO_INCREMENT, username VARCHAR(30) NOT NULL, PASSWORD VARCHAR(30) NOT NULL, uname VARCHAR(10) NOT NULL, phone VARCHAR(11) UNIQUE ) /* 数据库增加 */ INSERT INTO USER(uid,usernam…