|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/database-and-sql-for-beginners/
课程评论:没有评论
**Coursera 数据库与 SQL 入门课程内容总结** 本课程旨在为初学者系统介绍数据库和 SQL 的基础知识。 **核心内容概览:** * **数据库基础:** * 什么是数据库 * DBMS(数据库管理系统)和 RDBMS(关系型数据库管理系统)的概念 * 关系型数据库术语(如主键、外键等) * **SQL 语言:** * SQL(结构化查询语言)概述 * SQL 命令的分类(DDL, DCL, DML, 查询) * **SQLite 数据库系统:** * SQLite 简介 * SQLite Studio 的安装与使用 * 使用 SQLite 创建数据库及交互 * **表设计与管理:** * 表的创建 * 约束与数据完整性(实现完整性规则) * **数据查询 (SELECT):** * 使用 SELECT 命令查询数据 * 投影(选择列) * 选择(选择行) * ORDER BY 子句(按单列或多列排序) * SQL 运算符(BETWEEN.. AND, IN, LIKE) * **数据操作 (DML):** * INSERT, DELETE, UPDATE 命令进行数据增删改 * 事务管理(COMMIT 和 ROLLBACK) * **SQL 函数:** * 函数在 SQL 命令中的应用 * 数值函数 * 字符串函数 * 日期和时间函数 * 杂项函数(处理 NULL 值) * 分组函数(聚合) * **数据分组与聚合:** * GROUP BY 子句进行数据分组 * HAVING 子句筛选分组 * **表连接 (JOIN):** * NATURAL JOIN 和 JOIN 子句 * 外连接 (Outer Join) * **子查询 (Subquery):** * 在 DML 和 DDL 中使用子查询 * 嵌套子查询和多重子查询 * 相关子查询 (Correlated Subquery) * 结合使用 JOIN, Subquery 和 Grouping * **视图 (View):** * 什么是视图,何时需要视图及其优势 * 创建和使用视图 * **索引 (Index):** * 什么是索引 * 索引如何提升查询性能 * 如何判断查询是否使用了索引
This course covers the following topics:What is a DatabaseDBMS and RDBMSRelational Database Terminology - Primary key, Foreign key etc.Structured Query Language (SQL)Types of SQL commands - DDL, DCL, DML and QueryHow to use SQLite Database SystemHow to install SQLite Studio and use it to create SQLite Database and interact with itDesigning and creating TablesConstraints and Data Integrity - how to implement integrity rulesQuerying data using SELECT commandProjection - selecting a few columnsSelection - selecting a few rowsORDER BY clause and how to order by multiple columns SQL Operators - BETWEEN.. AND, IN and LIKE Manipulating data using INSERT, DELETE and UPDATE commandsTransaction Management - COMMIT and ROLLBACKWhat is a function and how to use it in SQL commandsHow to use Numeric functionsHow to use String function to process stringsHow to use DateTime functions How to use Miscellaneous functions to deal with null valuesHow to use Group functions to get aggregatesGrouping data using GROUP BY clauseSelecting rows and then grouping them Using HAVING clause to select groupsJoining tablesUsing NATURAL JOIN and JOIN clausesHow to use outer joinSubqueriesUsing subqueries in DML and DDLNested and multiple subqueriesCorrelated SubqueryHow to use Join, Subquery and Grouping togetherWhat is a viewWhere view is needed and its advantagesHow to create a view and use itWhat is an IndexHow an index improves performance of a queryHow to know whether index is being used in a query