SQL Puzzles and Answers (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已能写出单表查询、联接与简单聚合,想突破复杂报表的中级SQL使用者
- 日常需要写财务、库存、排班、统计类报表的数据开发与后端工程师
- 希望用真实案例讲解关系运算与集合思维的高校数据库课程师生
- 喜欢通过做题和对照答案来学习,而不是读理论推导的读者
Not a good fit for
- 从未写过SELECT语句的零基础读者,需要先补语法与建表基础
- 只想查阅某个数据库(如MySQL或SQL Server)专属语法与调优参数的人
- 期待系统讲解数据库设计范式、事务与索引原理的读者
Reading tips
- 先看题目和数据,自己动手写出解法,再看作者答案逐条对比思路差异,效果远胜直接读解法。
- 不必从头到尾逐题阅读,可按工作场景挑题(如财务、库存、排班),或按主题归类练习。
- 遇到依赖方言的写法时,回到自己常用的数据库实测一遍,留意标准SQL与方言的边界。
- 配合作者同系列的《SQL编程风格》一类的书一起读,把解题技巧沉淀为可复用的编码规范。
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
- Puzzle 1 The Fiscal Year Table
- Puzzle 2 Absentees
- Puzzle 3 The Anesthesiologist Puzzle
- Puzzle 4 Access-Control Cards
- Puzzle 5 Alphabetic Data
- Puzzle 6 Hotel Room Reservations
- Puzzle 7 Tracking a Portfolio
- Puzzle 8 Scheduling Printers
- Puzzle 9 Empty Seats
- Puzzle 10 Wages by Social Security Number
- Puzzle 11 Job Order
- Puzzle 12 Claim Status
- Puzzle 13 Teachers
- Puzzle 14 Telephones
- Puzzle 15 Finding the Last Two Paychecks
- Puzzle 16 Mechanics
- Puzzle 17 Employment Agency
- Puzzle 18 Advertising Letters
- Puzzle 19 Sales Champion
- Puzzle 20 Quiz Results
- Puzzle 21 Airplanes and Pilots
- Puzzle 22 Landlords
- Puzzle 23 Magazines
- Puzzle 24 One in Ten
- Puzzle 25 Milestones
- Puzzle 26 Data Flow Diagrams
- Puzzle 27 Finding Equal Sets
- Puzzle 28 Calculating the Sine Function
- Puzzle 29 Calculating the Mode
- Puzzle 30 Average Sales Waiting Time
- Puzzle 31 Buying All Products
- Puzzle 32 Calculating Taxes
- Puzzle 33 Calculating Depreciation
- Puzzle 34 Consultant Income
- Puzzle 35 Inventory Adjustments
- Puzzle 36 Dual Roles
- Puzzle 37 Moving Averages
- Puzzle 38 Ledger Updates
- Puzzle 39 Insurance Losses
- Puzzle 40 Permutations
FAQ
这本书适合零基础学SQL的人吗?
书中的代码能在MySQL或SQL Server上直接运行吗?
75个谜题需要按顺序读吗?
这本中文版对应英文原书的哪一本?
这本书和《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.