Python 数据库 && SQLite

SQLite

一种DBMS数据库管理系统

创建或打开一个数据库

sqlite3 test.db

创建一个表

create table student(id,name,room,phone);

插入一行

 insert into student values(140310101,'Zhang','B1502',86411234);

查询语句

查看数据库

.database

查看数据表

.table

发布了304 篇原创文章 · 获赞 148 · 访问量 14万+

猜你喜欢

转载自blog.csdn.net/hxxjxw/article/details/100743097
今日推荐