1.Ctrl-Alt-T 打开终端
2.安装sqlite3
sudo apt-get install sqlite3 libsqlite3-dev
3.创建数据库
sqlite3 mysqlite.db
4.创建数据表
CREATE TABLE myTable (id INTEGER, name VARCHAR(100));
5.插入数据
INSERT INTO myTable (id, name) Values (1, "xiaomc");
6.查询数据
select * from myTable;