SQLite操做

建立有主鍵的表:sql

create table test (pkey varchar(16) primary key, value varchar(10));sqlite


建立有複合(即key由多個字段聯合組成)主鍵的表:it

create table test (pkey1 varchar(16) , pkey2 varchar(16), primary key (pkey1,pkey2));table


SQLite字典表:ast

select * from sqlite_master;test

相關文章
相關標籤/搜索