From 025378da3ba3ab84e3135c2a8c3c445c5c231312 Mon Sep 17 00:00:00 2001 From: gitee-bot Date: Tue, 2 Dec 2025 04:41:48 +0000 Subject: [PATCH] Add README.md --- README.en.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 README.en.md create mode 100644 README.md diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..31e9aab --- /dev/null +++ b/README.en.md @@ -0,0 +1,52 @@ +# SQL Practice + +This project is a code repository focused on SQL learning and practice, designed to help users master the SQL query language through hands-on exercises. It includes two main sections—chapter exercises and case-based practice—suitable for both beginners and learners with some foundational knowledge. + +## Directory Structure + +- **SQL Programming/1.Chapter Exercises** + Contains SQL scripts for chapter exercises, ideal for gradually learning the fundamentals of SQL. + +- **SQL Programming/2.Case Practice** + Contains SQL scripts for multiple real-world cases, covering table creation, data insertion, and query operations to help users apply SQL in practical scenarios. + +- **SQL Programming/SQLite** + Contains SQLite-related script files for practicing with SQLite databases. + +- **SQL Programming/duckdb** + Contains DuckDB-related script files for practicing with DuckDB databases. + +- **SQL Programming/*.csv** + Provides CSV data files for importing into databases to support practice exercises. + +## Usage Instructions + +1. **Select Practice Content** + Choose SQL scripts from either the chapter exercises or case practice based on your learning goals. + +2. **Set Up the Database Environment** + Install the appropriate database environment (SQLite or DuckDB) according to the script type. + +3. **Execute SQL Scripts** + Use a database tool to run the SQL scripts and perform operations such as creating tables, inserting data, and querying. + +4. **Practice Querying** + Improve your SQL writing skills by modifying and optimizing SQL query statements. + +## Contribution Guidelines + +Contributions of new SQL exercises or improvements to existing scripts are welcome. Please follow these steps: + +1. Fork this repository. +2. Create a new branch (`git checkout -b feature/new-sql-exercise`). +3. Commit your changes (`git commit -am 'Add new SQL exercise'`). +4. Push the branch (`git push origin feature/new-sql-exercise`). +5. Submit a Pull Request. + +## License + +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. + +## Contact + +For any questions or suggestions, please open an Issue or contact the author via [Gitee](https://gitee.com/ew1994/sql-practice). \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..31a7a61 --- /dev/null +++ b/README.md @@ -0,0 +1,52 @@ +# SQL Practice + +本项目是一个专注于 SQL 学习与实践的代码库,旨在帮助用户通过实际操作掌握 SQL 查询语言。项目包含章节练习和案例实践两个主要部分,适合初学者和有一定基础的学习者进行练习。 + +## 目录结构 + +- **SQL Programming/1.Chapter Exercises** + 包含章节练习的 SQL 脚本,适合逐步学习 SQL 的基础知识。 + +- **SQL Programming/2.Case Practice** + 包含多个实际案例的 SQL 脚本,涵盖数据表的创建、数据插入和查询操作,帮助用户在真实场景中应用 SQL。 + +- **SQL Programming/SQLite** + 包含 SQLite 相关的脚本文件,适用于 SQLite 数据库的练习。 + +- **SQL Programming/duckdb** + 包含 DuckDB 相关的脚本文件,适用于 DuckDB 数据库的练习。 + +- **SQL Programming/*.csv** + 提供了一些 CSV 格式的数据文件,用于导入数据库进行练习。 + +## 使用方法 + +1. **选择练习内容** + 根据您的学习目标,选择章节练习或案例实践中的 SQL 脚本。 + +2. **准备数据库环境** + 根据脚本类型(SQLite 或 DuckDB),安装相应的数据库环境。 + +3. **执行 SQL 脚本** + 使用数据库工具执行 SQL 脚本,进行数据表的创建、数据插入和查询操作。 + +4. **练习查询** + 通过修改和优化 SQL 查询语句,提升您的 SQL 编写能力。 + +## 贡献指南 + +欢迎贡献新的 SQL 练习题或优化现有脚本。请遵循以下步骤: + +1. Fork 本仓库。 +2. 创建新分支 (`git checkout -b feature/new-sql-exercise`)。 +3. 提交更改 (`git commit -am 'Add new SQL exercise'`)。 +4. 推送分支 (`git push origin feature/new-sql-exercise`)。 +5. 提交 Pull Request。 + +## 许可证 + +本项目遵循 MIT 许可证。详情请参阅 [LICENSE](LICENSE) 文件。 + +## 联系方式 + +如有任何问题或建议,请通过 [Gitee](https://gitee.com/ew1994/sql-practice) 提交 Issue 或联系作者。 \ No newline at end of file -- Gitee