标签:english prim varchar person time efault col primary incr
1 USE databaseWeb; 2 DROP TABLE IF EXISTS tb_person; 3 CREATE TABLE tb_person( 4 id INTEGER AUTO_INCREMENT COMMENT ‘id‘, 5 NAME VARCHAR(45) COMMENT ‘姓名‘, 6 english_name VARCHAR(45) COMMENT ‘英文名‘, 7 age INTEGER UNSIGNED COMMENT ‘年龄‘, 8 sex VARCHAR(45) COMMENT ‘性别‘, 9 birthday DATE COMMENT ‘出生日期‘, 10 description TEXT COMMENT ‘备注‘, 11 create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP() COMMENT ‘创建时间‘, 12 PRIMARY KEY (id) 13 );
标签:english prim varchar person time efault col primary incr
原文地址:http://www.cnblogs.com/gylhaut/p/7623384.html