1.create table 表名 (属性名 数据类型 NOT NULL);
注释:如果违反约束会报错
ERROR: 10448(23000):Column '属性名' cannot be null
转载于:https://blog.51cto.com/xin521long/1832445
1.create table 表名 (属性名 数据类型 NOT NULL);
注释:如果违反约束会报错
ERROR: 10448(23000):Column '属性名' cannot be null
转载于:https://blog.51cto.com/xin521long/1832445