摘要: MySQL day03 一、约束 1.1、唯一性约束(unique) 什么是唯一性约束? ​ 唯一约束修饰的字段具有唯一性,不能重复。但可以为NULL。 案例:给某一列添加unique(列级约束) drop table if exists t_user; create table t_user( i 阅读全文
posted @ 2020-09-22 22:16 笑到不能自已 阅读(112) 评论(0) 推荐(0) 编辑