使用sqlite创建数据库
SQLite version 3.36.0 2021-06-18 18:36:39
Enter ".help" for usage hints.
sqlite>
在sqlite里面创建一张表并添加数据
C:\sqlite-tools-win32-x86-3360000>sqlite3.exe student.db
SQLite version 3.36.0 2021-06-18 18:36:39
Enter ".help" for usage hints.
sqlite> .databases
main: C:\sqlite-tools-win32-x86-3360000\student.db r/w
sqlite> .tables
sqlite> .tables
sqlite> .tables
sqlite> create table person(id int, name varchar(20), address varchar(20));
sqlite> insert into person values(202101, 'Yangxiong', 'china shanghai');
sqlite> insert into person values(202102, 'Yangxiong', 'china beijing');
sqlite> select * from person
...> ;
202101|Yangxiong|china shanghai