SQL Advanced Tutorial
Tags
Summary
Editor's review
Who it's for
A good fit for
- 有半年以上 SQL 使用经验、已掌握基本语法的开发者
- 经常写报表查询、需要优化复杂 SQL 的数据分析师
- 想理解关系模型与集合论基础、准备进阶的后端工程师
- 把《SQL基础教程》读完、想继续系统提高的读者
Not a good fit for
- 完全零基础、尚未写过 SELECT 语句的初学者
- 只想速查某款数据库(MySQL、Oracle 等)方言差异的读者
- 期待大量大数据或分布式计算框架内容的人
Reading tips
- 在第 1 章每节先合上书自己写一遍查询,再对照书中写法,差异处往往就是收获。
- 准备一套示例数据并在真实数据库中跑通所有 SQL,注意不同 DBMS 的方言差异与执行计划。
- 第 2 章理论部分可放慢速度,配合练习题理解三值逻辑与 NULL 的处理策略。
- 读完后把书中的技巧回头套用到自己项目里最慢的几条查询上,做一次实际改写。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 The Magic of SQL
- 1-1 CASE Expressions
- 1-2 Using Self-Joins
- 1-3 Three-Valued Logic and NULL
- 1-4 The Power of the HAVING Clause
- 1-5 Using Outer Joins
- 1-6 Comparing Rows with Correlated Subqueries
- 1-7 Set Operations in SQL
- 1-8 Using the EXISTS Predicate
- 1-9 Working with Sequences in SQL
- 1-10 The HAVING Clause Returns
- 1-11 Making SQL Fly
- 1-12 Methods of SQL Programming
- Chapter 2 The World of Relational Databases
- 2-1 The History of Relational Databases
- 2-2 Why Is It Called the “Relational” Model?
- 2-3 Starting with Relations, Ending with Relations
- 2-4 Address: The Great Monster
- 2-8 Human Logic
- 2-9 The Committee to Eliminate NULL
- 2-10 Hierarchies in SQL
- Chapter 3 Appendix
- 3-1 Exercise Answers
- 3-2 References
FAQ
这本书适合零基础学 SQL 的人吗?
这本和《SQL进阶教程(第2版)》有什么区别?
书中的 SQL 能直接在自己的数据库里运行吗?
这一版有配套资源或习题答案吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.