摘要:
##Mysql基本语法(二) #一对一: 左表的一条记录唯一对应右表的一条记录,反之也一样 create table customer( id int primary key auto_increment, name char(20) not null, qq char(10) not null, 阅读全文
posted @ 2019-06-13 21:27
Icon-Liang
阅读(402)
评论(0)
推荐(0)
摘要:
##Mysql基本语法(一) not null 不能为空 default 设置默认值 mysql中存在一种专门的数据结构,叫key,又称为索引,通过该数据结构可以减少io次数,从而加速查询效率 index key : 只有加速查询的效果,没有约束的功能 unique key:不仅有加速查询的效果,还 阅读全文
posted @ 2019-06-13 08:20
Icon-Liang
阅读(236)
评论(0)
推荐(0)
浙公网安备 33010602011771号