课程
SQL 关系型数据库入门
基础技能水平
更新时间 2026年1月
SQLProgramming4小时13 视频45 道练习3,600 XP190K+成就证明
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
深受数千家公司学习者的喜爱
需要团队培训?
企业版试用课程描述
探索 SQL 在关系数据库管理中的作用
SQL 成为关系型数据库管理首选查询语言有很多原因。 主要原因是,SQL 是一种强大的语言,能够以复杂的方式处理大量数据,并解决棘手的分析问题。 在本课程中,您将初步了解 SQL 中的关系型数据库。了解如何创建表并指定它们之间的关系,以及如何强制执行数据完整性。 此外,还将了解数据库系统的其他独特特性,例如约束。
创建你的第一个数据库
你将通过使用简单的 SQL 命令创建你的第一个数据库来开始这门课程。 接下来,你将学习如何在数据库结构发生变化时,通过迁移数据和删除表来更新数据库。在最后一章中,你将通过外键将表连接起来,并建立能显著提升数据质量的关系。 最后,你将对新数据库进行临时分析。
理解关系型数据库基础
在课程结束时,您将对 SQL 关系型数据库有一个基础但至关重要的理解。 它们广泛应用于各个数据科学领域(从医疗保健到金融),因此已成为数据科学家最重要的语言之一。 如果您希望进一步深化知识,您可能会对我们的数据库管理员 SQL、SQL Server 开发人员以及数据库管理员 SQL Server 学习路径感兴趣。先决条件
Intermediate SQL1
Your first database
In this chapter, you'll create your very first database with a set of simple SQL commands. Next, you'll migrate data from existing flat tables into that database. You'll also learn how meta-information about a database can be queried.
2
Enforce data consistency with attribute constraints
After building a simple database, it's now time to make use of the features. You'll specify data types in columns, enforce column uniqueness, and disallow NULL values in this chapter.
3
Uniquely identify records with key constraints
Now let’s get into the best practices of database engineering. It's time to add primary and foreign keys to the tables. These are two of the most important concepts in databases, and are the building blocks you’ll use to establish relationships between tables.
4
Glue together tables with foreign keys
In the final chapter, you'll leverage foreign keys to connect tables and establish relationships that will greatly benefit your data quality. And you'll run ad hoc analyses on your new database.
SQL 关系型数据库入门
课程完成 加入超过19百万学习者,今天就开始SQL 关系型数据库入门!
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
通过 DataCamp for Mobile 提升您的数据技能
随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。