效果图
https://www.drawdb.app/ >> "Try it for yourself" >> 在线建表导出sql

步骤
- 下载官网的sqlite-tools (包含sqlite3.exe)
https://sqlite.org/download.html
解压,放置到C:\tools\下,
设置系统的系统环境变量path,添加C:\tools\sqlite3.exe,使得cmd可以使用sqlite_cli:

完整的sqlite_cli命令: Command Line Shell For SQLite
cmd打sqlite3即可进入,
.open 数据库文件名 ==> 打开或新建一个数据库文件 ==> use mysqlDbName
.table ==> 显示所有的表 ==> show tables
create table ...
select * from xx_table;
insert into ...
update ...
delete ...
- 直接在线设计表,并获得建表sql - 多表 - 免费数据库设计神器 DrawDB.app
https://www.drawdb.app/ >> "Try it for yourself" >> 在线建表导出sql

-
在sqlite_cli中,直接执行上述sql,即可!
-
正常curd,退出Ctrl+C!
其他DB-sqlite管理工具
SQLiteStudio --- 没办法指定默认值,按钮灰色
https://sqlitestudio.pl/
免费DBeaver (社区版) --- 有瑕疵
https://dbeaver.io/
HeidiSQL --- 连sqlite自增autoincrement都打错,还带mysql的下划线 - mySQL一流!
ending...