56,679
社区成员
发帖
与我相关
我的任务
分享
mysql> create table renzaijiang (id int primary key auto_increment, col int);
Query OK, 0 rows affected (0.28 sec)
mysql>
mysql> insert into renzaijiang values (null,10);
Query OK, 1 row affected (0.06 sec)
mysql> select * from renzaijiang;
+----+------+
| id | col |
+----+------+
| 1 | 10 |
+----+------+
1 row in set (0.00 sec)
mysql> insert into renzaijiang values (null,20);
Query OK, 1 row affected (0.03 sec)
mysql> select * from renzaijiang;
+----+------+
| id | col |
+----+------+
| 1 | 10 |
| 2 | 20 |
+----+------+
2 rows in set (0.00 sec)
mysql>