摘要:
1、约束 1.1、唯一性约束(unique) 唯一性约束修饰的字段具有唯一性,不能重复。但可以为NULL。 案例:给某一列添加unique drop table if exists t_user; create table t_user( id int, username varchar(255) 阅读全文
1、约束 1.1、唯一性约束(unique) 唯一性约束修饰的字段具有唯一性,不能重复。但可以为NULL。 案例:给某一列添加unique drop table if exists t_user; create table t_user( id int, username varchar(255) 阅读全文
posted @ 2022-04-21 09:30
学者莱维
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号