摘要: day 34 MySQL基本操作 01.操作表; 1. 表的增删改查 1. 增 2. 3. 2. 删 3. 改 4. 查 5. 复制表结构 4. 列的约束 5. 6. 列类型 1. 数字类型 1. 整型; 1. tinyint 2. smallint 3. int 4. mediumint 5. b 阅读全文
posted @ 2019-10-29 20:12 🍞面包🍞 阅读(118) 评论(0) 推荐(0)
摘要: ```python # 创建表 create table oldboy( id int unsigned auto_increment primary key, name char(10) not null default 'sb', age int not null default 0, status enum('teacher','student'), ... 阅读全文
posted @ 2019-10-29 20:10 🍞面包🍞 阅读(72) 评论(0) 推荐(0)