mysql> create table test (
-> id int not null,
-> name varchar(64) not null default '未填写'
-> )
Query OK, 0 rows affected (0.01 sec)
mysql> insert into test (id) values (1)
Query OK, 1 row affected (0.01 sec)
mysql> select * from test
+----+-----------+
| id | name |
+----+-----------+
| 1 | 未填写 |
+----+-----------+
1 row in set (0.00 sec)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)