MySQL之索引组织表
今天没怎么学习,简单写下MySQL里面innodb存储引擎下的索引组织表吧。...举个例子:
mysql> create table z(
-> a int not null,
-> b int null,
-> c int not null,
->...>
mysql> insert into z select 5,6,7,8;
Query OK, 1 row affected (0.09 sec)
Records: 1 Duplicates: 0...Warnings: 0
mysql>
mysql> insert into z select 9,10,11,12
Query OK, 1 row affected (0.41 sec)
Records...: 1 Duplicates: 0 Warnings: 0
然后我们通过下面这个SQL语句来判断表的主键值:
mysql> select a,b,c,d,_rowid from z;
+---+