Skip to Content
《Head First SQL》 (Chinese Edition), 2nd Edition
book

《Head First SQL》 (Chinese Edition), 2nd Edition

by Kimberly Fessel
June 2026
740 pages
13h 7m
Chinese
O'Reilly Media, Inc.
Content preview from 《Head First SQL》 (Chinese Edition), 2nd Edition

附录 C. 工具箱 汇总:所有新的 SQL 工具

Image

请听鼓点……大家看这里……这就是您的 SQL 工具!这是本书中所有已介绍的 SQL 概念和关键字的汇总。请花一点时间浏览这份清单,找出您最喜欢的那些。别忘了为自己感到自豪——您已经掌握了所有这些内容!

符号

=, <>, !=, <, >, <=, >=

您可以使用一大堆等号和不等号比较运算符。

第 3 章

A

AI Chatbot

一个在输入文本或 prompt 后生成新内容的接口。可协助编写 SQL 代码、调试、模式规划及其他相关任务。

第 18 章

ALTER TABLE

对现有的 SQL 表进行修改,包括更新其名称和结构,同时不删除表中的数据。

第 9 章

ALTER VIEW

使用查询重新定义视图。

第 14 章

ALTER with ADD

按您选择的顺序向表中添加新列。

第 9 章

ALTER with CHANGE

更新现有列的名称和数据类型。

第 9 章

ALTER with DROP

删除表中的整个列。

第 9 章

ALTER with MODIFY

为现有列指定新的数据类型或属性。

第 9 章

AND

在您的WHERE子句中组合条件语句,使其满足所有条件。

第 4 章

AS

允许您临时重命名列或为其设置别名。

第 6 章

Atomic Data

原子数据被分解为所需的最小单元。一个或多个列中不能包含多个相同类型的数据位。

第 8 章

AUTO_INCREMENT

在列声明中使用时,每次执行INSERT命令时,会自动为该列分配一个唯一的整数值。

第 8 章

AVG

一个用于计算数字列平均值的函数。

第 6 章

B

BETWEEN

允许您选择包含端点的值范围。

第 4 章

Built-in Function

随 SQL 一起保存的代码,用于根据用户输入执行预定义的计算。始终输出单个标量值。

第 13 章

C

CALL

将输入传递给存储过程并执行该存储过程。

第 13 章

CASE

此表达式可帮助您使用 if-then-else 逻辑创建自定义分组。

第 6 章

CHECK

一种使用条件语句的约束,仅允许您在表中插入或更新特定值。

第 14 章

The Cloud

这些计算机并非由您或您的公司所有,而是您可以从服务提供商处租用,用于数据存储或计算。

第 17 章

COMMIT

将事务中的更改永久保存。

第 15 章

Common Table Expression (CTE)

可实现与派生表相同的效果,但使用关键字WITH 关键字预先定义中间结果。

第 11 章

Concurrency

当两个或多个会话同时尝试访问同一数据时,就会发生这种情况。

第 15 章

Connector

在 SQL 数据库与 Python 等其他编程语言之间建立链接。

第 18 章

CONSTRAINT

在执行以下操作时进行设置:CREATEALTER进行设置,这是表必须遵守的一条规则。

第8章第14章

Correlated Subquery

一个依赖于外部查询结果的子查询。不能单独运行它。

第 11 章

COUNT

用于统计非空列条目或所有行的函数。

第 6 章

CREATE ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Overcome a Power Deficit

How to Overcome a Power Deficit

Cyril Bouquet, Jean-Louis Barsoux
Relational Power Is the New Currency of Hybrid Work

Relational Power Is the New Currency of Hybrid Work

Lebene Soga, Yemisi Bolade-Ogunfodun, Nazrul Islam, Joseph Amankwah-Amoah

Publisher Resources

ISBN: 0642572408114