sqlite3查看表结构

查看所有表的表结构:

select * from sqlite_master where type = "table";

查看某个表的表结构

select * from sqlite_master where name = "table_name"

你可能感兴趣的:(sqlite3查看表结构)