米字键

博客园 首页 新随笔 联系 订阅 管理

2022年4月4日 #

摘要: -- 部门表 create table dept( deptno int primary key auto_increment, -- 部门编号 自动增长 dname varchar(14) , -- 部门名字 loc varchar(13) -- 地址 ) ; -- 修改表的字符集 alter t 阅读全文
posted @ 2022-04-04 17:11 米字键 阅读(64) 评论(0) 推荐(0) 编辑

摘要: create table student( sid int(11) primary key not null,-- 唯一标识,不能为空 sname char(25) not null,-- 不能为空 age int(11) not null,-- 不能为空 sex char(2) not null, 阅读全文
posted @ 2022-04-04 17:09 米字键 阅读(188) 评论(0) 推荐(0) 编辑