Effective SQL: 61 Specific Ways to Write Better SQL

Book Description

“Given the authors’ reputations, I expected to be impressed. I was blown away! . . . Most SQL books sit on my shelf. This one will live on my desk.”
–Roger Carlson, Microsoft Access MVP (2006-2015)

“Rather than stumble around reinventing wheels or catching glimpses of the proper approaches, do yourself a favor: Buy this book.”
—Dave Stokes, MySQL Community Manager, Oracle Corporation

Effective SQL brings together practical solutions and insights so you can solve complex problems with SQL and databases that simplify data management in the future. It’s the only modern book that brings together advanced best practices and realistic example code for all of these versions of SQL: , Microsoft Access, Microsoft SQL Server, MySQL, Oracle Database, and .

Drawing on their immense experience as world-class database consultants and instructors, the authors identify 61 proven approaches to better SQL. Wherever SQL versions vary, the authors illuminate the key nuances, so you can get the most out of whatever version you prefer. This full-color guide provides clear, practical explanations; expert tips; and plenty of usable code. Going far beyond mere syntax, it addresses issues ranging from optimizing database designs to managing hierarchies and metadata. If you already know SQL’s basics, this guide will help you become a world-class SQL problem-solver.

  • Craft better logical data models, and fix flawed models
  • Implement indexes that improve query performance
  • Handle external data from sources you don’t control
  • Extract and aggregate the information you need, as efficiently as possible
  • Write more flexible subqueries
  • Analyze and retrieve metadata using your database of choice
  • Use Cartesian Products and Tally Tables to solve problems you can’t address with conventional JOINs
  • Model hierarchical data: managing SQL’s tradeoffs and shortcomings

Table of Contents

Chapter 1. Data Model Design
Chapter 2. Programmability and Index Design
Chapter 3. When You Can’t Change the Design
Chapter 4. Filtering and Finding Data
Chapter 5. Aggregation
Chapter 6. Subqueries
Chapter 7. Getting and Analyzing Metadata
Chapter 8. Cartesian Products
Chapter 9. Tally Tables
Chapter 10. Modeling Hierarchical Data
Appendix. Date and Time Types, Operations, and Functions

Book Details

Download LinkFormatSize (MB)Upload Date
Direct download (Recommended!)True PDF7.505/02/2019
Download from UsersCloudTrue PDF7.511/05/2018
Download from ZippySharePDF (convert), EPUB, AZW373.801/24/2017
How to Download? Report Dead Links & Get a Copy

Leave a Reply