文章分类 - Mysql
摘要:mysql 完整性约束一 not null与default 略 二 unique 保证列唯一 联合唯一: 保证两个字段内容加起来在表中是唯一的 三 primary key 主键的值不为空且唯一 多列主键: 保证两个字段内容加起来在表中是唯一的 四 auto_increment 略 五 foreign
阅读全文
摘要:http://www.cnblogs.com/kevingrace/p/5719536.html
阅读全文
摘要:创建数据库 create database if not exists myqq default charset utf8; 创建表 create table if not exists t3( id int primary key auto_increment, name varchar(10), descripti varchar(10) comment '描述' );
阅读全文
摘要:https://www.cnblogs.com/jennyyin/p/7895010.html
阅读全文
摘要:mysql数据库字符集初步理解 https://www.cnblogs.com/haore147/p/3618028.html mysql数据库字符集详解(适合初学者) https://www.2cto.com/database/201612/573824.html MySQL怎样选择合适的字符集
阅读全文