查看所有表

.table/.tables

查看帮助

.help

显示表头

.header on

查看表结构

  1. -- 所有表的表结构
  2. select * from sqlite_master where type="table";
  3. -- 指定的单张表的表结构
  4. select * from sqlite_master where type="table" and name="xxx";

退出

.exit