在SQLite中使用索引优化查询速度
<br />本文来自
sqlitechina.org 作者:
工友<br /> <br />在进行多个表联合查询的时候,使用索引可以显著的提高速度:<br /><br />
建立三个表:create table t1 <br />
(id integer primary key,<br />
num integer not null,<br />
word1 text not null,<br />
word2 text not null);<br />
create table t2
转载
2010-11-30 11:59:00 ·
1090 阅读 ·
0 评论