摘要: 约束信息保存在information_schema.table_constraints表中 索引信息保存在information_schema.statistics表中 mysql的约束分为主键约束,外键约束和唯一性约束。 创建具有主键的表t1 在创建约束时,mysql会自动创建该字段的索引 为t1 阅读全文
posted @ 2018-06-28 11:35 Tinypan 阅读(484) 评论(0) 推荐(0)