Practice-SQL-with-SQLite-and-Jupyter-Notebook 项目教程
1. 项目的目录结构及介绍
Practice-SQL-with-SQLite-and-Jupyter-Notebook/
├── data/
├── LICENSE
├── README.md
├── ex00-Introduction.ipynb
├── ex01-Quick Start.ipynb
├── ex02-Query Table Information.ipynb
├── ex03-Retrieving Data with SELECT.ipynb
├── ex04-Constrain the Number of Rows Returned by a SELECT Query.ipynb
├── ex05-Filtering a Query with WHERE.ipynb
├── ex06-Doing Math Across Table Columns.ipynb
├── ex07-Aggregating data with GROUP BY and ORDER BY.ipynb
├── ex08-Joining Tables.ipynb
├── ex09-Advanced Query Techniques of CASE and Subquery.ipynb
├── ex10-Using Views to Simplify Queries.ipynb
├── ex11-Dealing with NULL Values.ipynb
├── ex12-Bonus from Interactive with Pandas.ipynb
├── ex13-Using SQLite as a Time Series Database.ipynb
├── s01-Transaction (Begin, Commit, Rollback).ipynb
├── s02-Accessing a SQLite Database with Pandas.ipynb
└── s03-Window Functions within SQLite.ipynb
目录结构介绍
- data/: 存放项目所需的数据文件。
- LICENSE: 项目的开源许可证文件。
- README.md: 项目的介绍和使用说明。
- ex00-Introduction.ipynb: 项目介绍和基础知识。
- ex01-Quick Start.ipynb: 快速入门教程。
- ex02-Query Table Information.ipynb: 查询表信息的教程。
- ex03-Retrieving Data with SELECT.ipynb: 使用SELECT语句检索数据的教程。
- ex04-Constrain the Number of Rows Returned by a SELECT Query.ipynb: 限制SELECT查询返回行数的教程。
- ex05-Filtering a Query with WHERE.ipynb: 使用WHERE子句过滤查询的教程。
- ex06-Doing Math Across Table Columns.ipynb: 在表列之间进行数学运算的教程。
- ex07-Aggregating data with GROUP BY and ORDER BY.ipynb: 使用GROUP BY和ORDER BY聚合数据的教程。
- ex08-Joining Tables.ipynb: 表连接的教程。
- ex09-Advanced Query Techniques of CASE and Subquery.ipynb: 高级查询技术,包括CASE和子查询的教程。
- ex10-Using Views to Simplify Queries.ipynb: 使用视图简化查询的教程。
- ex11-Dealing with NULL Values.ipynb: 处理NULL值的教程。
- ex12-Bonus from Interactive with Pandas.ipynb: 与Pandas交互的额外教程。
- ex13-Using SQLite as a Time Series Database.ipynb: 将SQLite用作时间序列数据库的教程。
- s01-Transaction (Begin, Commit, Rollback).ipynb: 事务处理的教程。
- s02-Accessing a SQLite Database with Pandas.ipynb: 使用Pandas访问SQLite数据库的教程。
- s03-Window Functions within SQLite.ipynb: SQLite中窗口函数的教程。
2. 项目的启动文件介绍
项目的启动文件是 ex00-Introduction.ipynb
。这个文件包含了项目的介绍和基础知识,是开始学习SQL和SQLite的最佳起点。
3. 项目的配置文件介绍
项目中没有专门的配置文件。所有的配置和设置都在Jupyter Notebook文件中进行。每个Notebook文件都包含了相应的SQL代码和解释,用户可以直接在Jupyter Notebook中运行这些代码进行学习和实践。