select count(*) as isExsit from sqlite_master where type="table" and name=表名;
例如:
select count(*) as isExsit from sqlite_master where type="table" and name="categories";
select count(*) as isExsit from sqlite_master where type="table" and name=表名;
例如:
select count(*) as isExsit from sqlite_master where type="table" and name="categories";