sqlite准备步骤; 1.下载:https://www.sqlite.org/download.html; sqlite-dll-win64-3250200.zip 和 sqlite-tools-win32-x86-3250200.zip 2.在C盘或其它盘的根目录下创建一个sqlite3文件夹,并把两个压缩包解压到同一个目录下; 3.配置用户环境变量,在path下添加 路径如:C:sqlite,重启电脑使之生效 sqlite:使用步骤 1:找到放置sqlite3.exe的目录 命令:cd C:sqlite3.exe 2.创建数据库: sqlite3 mystudent.db,可以使用.databases来查看是否创建成功 3.创建表:create table mystudet(id int primary key not null,name varchar(50) not null); 可以.table查看是否创建成功 4.删除表:drop table mystudent;