摘要: 有的时候需要对数据库的某个字段要求不能重复,所以要设置这个字段的唯一性 1. 把这个字段设置成主键 把phonumber设置为主键 CREATE TABLE `userinformation` ( `username` varchar(50) DEFAULT NULL, `phonenumber` 阅读全文
posted @ 2019-12-25 10:25 这里有个博客 阅读(14230) 评论(0) 推荐(1) 编辑