CREATE TABLE IF NOT EXISTS student
(
id INT NOT NULL COMMENT ‘学生id’ PRIMARY KEY,
name
VARCHAR(20),
age TINYINT(2),
sex VARCHAR(2),
address VARCHAR(50) DEFAULT ‘重庆’,
addtime
) ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT ‘学生表’;
MySQL创建表
最新推荐文章于 2024-07-27 20:32:24 发布