番外:ubuntu 下的sqlite3

What Is SQLite?

SQLite is a C-language library that implements a smallfastself-containedhigh-reliabilityfull-featured, SQL database engine. SQLite is the most used database engine in the world

 ps:SQLite Home Page

sqlite3 的安装:

user@user-virtual-machine:~$ sqlite3

Command 'sqlite3' not found, but can be installed with:

sudo apt install sqlite3

user@user-virtual-machine:~$ sudo apt install sqlite3

还需要安装开发库呢

sudo apt-get update
sudo apt-get install libsqlite3-dev

可视化工具:sudo apt-get install sqlitebrowser

 命令行方式创建表:

$ sqlite3 ex1
SQLite version 3.36.0 2021-06-18 18:36:39
Enter ".help" for usage hints.
sqlite> create table tbl1(one text, two int);
sqlite> insert into tbl1 values('hello!',10);
sqlite> insert into tbl1 values('goodbye', 20);
sqlite>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值