This book will change the way you think about the problems you solve with SQL programs.. Focusing on three key table-based techniques, Celko reveals their power through detailed examples and clear explanations. As you master these techniques, you’ll find you are able to conceptualize problems as rooted in sets and solvable through declarative programming. Before long, you’ll be coding more quickly, writing more efficient code, and applying the full power of SQL

• Filled with the insights of one of the world’s leading SQL authorities - noted for his knowledge and his ability to teach what he knows.

• Focuses on auxiliary tables (for computing functions and other values by joins), temporal tables (for temporal queries, historical data, and audit information), and virtual tables (for improved performance).

• Presents clear guidance for selecting and correctly applying the right table technique.

- Copyright
- The Morgan Kaufmann Series in Data Management Systems
- Preface
- SQL Is Declarative, Not Procedural
- Hardware, Data Volume, and Maintaining Databases
- Data Access and Records
- Lookup Tables
- Auxiliary Tables
- Views
- Virtual Tables
- Complicated Functions via Tables
- Temporal Tables
- Scrubbing Data with Non-1 N F Tables
- Thinking in SQL
- Group Characteristics
- Turning Specifications into Code
- Using Procedure and Function Calls
- Numbering Rows
- Keeping Computed Data
- Triggers for Constraints
- Procedural and Data-Driven Solutions