SQLite用法参数详细说明,SQLite常用命令一览表,SQLite最全使用文档, 使用手册。

make a db from a file

$ sqlite3 -echo -column -header pizza.db < pizza.sql 

useful startup commands

sqlite> .help
sqlite> .headers on
sqlite> .mode column
sqlite> .nullvalue ?
sqlite> .schema
sqlite> .quit

Also, .q to quit, .h or .he, etc. for help, etc.