Home > Store

Effective SQL: 61 Specific Ways to Write Better SQL, Rough Cuts

Effective SQL: 61 Specific Ways to Write Better SQL, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Also available in other formats.

Description

  • Copyright 2017
  • Dimensions: 7" x 9-1/8"
  • Pages: 352
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-13-457908-9
  • ISBN-13: 978-0-13-457908-5

This is the Rough Cut version of the printed book.


Effective SQL brings together the hands-on solutions and practical insights you need to solve a wide range of complex problems with SQL, and to design databases that make it far easier to manage data in the future. Leveraging the proven format of the best-selling Addison-Wesley Effective Software Development Series, it focuses on providing clear, practical explanations, expert tips, and plenty of realistic examples--all in full color.

Drawing on their immense experience as consultants and instructors, three world-class database experts identify specific challenges and distill each solution into five pages or fewer. Throughout, they provide practical SQL code designed for all leading platforms. Sample code includes specific examples for IBM DB2, Microsoft Access, Microsoft SQL Server, MySQL, Oracle Database, and PostgreSQL, wherever these vary or permit you to achieve your goal more efficiently.

Going beyond mere syntax, the authors also show how to avoid poor database design that makes it difficult to write effective SQL, how to improve suboptimal designs, and how to work around designs you can't change. You'll also find detailed sections on filtering and finding data, aggregation, subqueries, and metadata, as well as specific solutions for everything from listing products to scheduling events and defining data hierarchies. Simply put, if you already know the basics of SQL, Effective SQL will help you become a world-class SQL problem-solver.

Sample Content

Table of Contents

Introduction

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: Analyzing and Getting Metadata

Chapter 8: Cartesian Products

Chapter 9: Tally Tables

Chapter 10: Modeling Hierarchical Data

Appendix: Date and Time Types, Operations, and Functions


Updates

Submit Errata

More Information