摘要: MySQL学习笔记-day03 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 学者莱维 阅读(105) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示