美文网首页
sqlite3常用命令

sqlite3常用命令

作者: Thirds | 来源:发表于2018-06-11 23:34 被阅读0次
命令 描述
sqlite3 test.db 打开某个数据库文件中
sqlite>.help 获取帮助
sqlite>.tables 显示数据库中所有的表名
sqlite> .mode column 显示调整成列模式
sqlite> .header on 显示表头
select * from <table_name>; 查询表中所有的信息
.exit 退出

相关文章

网友评论

      本文标题:sqlite3常用命令

      本文链接:https://www.haomeiwen.com/subject/oepkeftx.html