创建有主键的表:
create table test (pkey varchar(16) primary key, value varchar(10));
创建有复合(即key由多个字段联合组成)主键的表:
create table test (pkey1 varchar(16) , pkey2 varchar(16), primary key (pkey1,pkey2));
SQLite字典表:
select * from sqlite_master;
本文转自eyjian 51CTO博客,原文链接:http://blog.51cto.com/mooon/955937,如需转载请自行联系原作者