1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| DROP TABLE IF EXISTS user;
CREATE TABLE user ( id BIGINT(20) NOT NULL COMMENT '主键ID', name VARCHAR(30) NULL DEFAULT NULL COMMENT '姓名', age INT(11) NULL DEFAULT NULL COMMENT '年龄', email VARCHAR(50) NULL DEFAULT NULL COMMENT '邮箱', PRIMARY KEY (id) );
INSERT INTO user (id, name, age, email) VALUES (1, 'neo', 18, 'smile1@ityouknow.com'), (2, 'keep', 36, 'smile2@ityouknow.com'), (3, 'pure', 28, 'smile3@ityouknow.com'), (4, 'smile', 21, 'smile4@ityouknow.com'), (5, 'it', 24, 'smile5@ityouknow.com');
|