创建有主键的表:
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;


阅读(432) | 评论(0) | 转发(0) |

热门推荐