Paperback
Master SQL: design patterns, best practices, and optimized queries.
Save 4%

SQL Query Design Patterns and Best Practices

A practical guide to writing readable and maintainable SQL queries using its design patterns

RRP$56.08
$54.08
  • Paperback

    270 pages

  • Release Date

    7 April 2023

Check Delivery Options

Summary

Enhance your SQL query writing skills to provide greater business value using advanced techniques such as common table expressions, window functions, and JSON.

Purchase of the print or Kindle book includes a free PDF eBook.

Key Features

  • Examine query design and performance using query plans and indexes.
  • Solve business problems using advanced techniques such as common table expressions and window functions.
  • Use SQL in modern data platform solutions with JSON and Jupyter notebooks.

Book Description

SQL has been the de facto standard when interacting with databases for decades and shows no signs of going away. Through the years, report developers or data wranglers have had to learn SQL on the fly to meet the business needs, so if you are someone who needs to write queries, SQL Query Design and Pattern Best Practices is for you.

This book will guide you through making efficient SQL queries by reducing set sizes for effective results. You’ll learn how to format your results to make them easier to consume at their destination. From there, the book will take you through solving complex business problems using more advanced techniques, such as common table expressions and window functions, and advance to uncovering issues resulting from security in the underlying dataset. Armed with this knowledge, you’ll have a foundation for building queries and be ready to shift focus to using tools, such as query plans and indexes, to optimize those queries. The book will go over the modern data estate, which includes data lakes and JSON data, and wrap up with a brief on how to use Jupyter notebooks in your SQL journey.

By the end of this SQL book, you’ll be able to make efficient SQL queries that will improve your report writing and the overall SQL experience.

What you will learn

  • Build efficient queries by reducing the data being returned.
  • Manipulate your data and format it for easier consumption.
  • Form common table expressions and window functions to solve complex business issues.
  • Understand the impact of SQL security on your results.
  • Understand and use query plans to optimize your queries.
  • Understand the impact of indexes on your query performance and design.
  • Work with data lake data and JSON in SQL queries.
  • Organize your queries using Jupyter notebooks.

Who this book is for

This book is for SQL developers, data analysts, report writers, data scientists, and other data gatherers looking to expand their skills for complex querying as well as for building more efficient and performant queries.

For those new to SQL, this book can help you accelerate your learning and keep you from making common mistakes.

Book Details

ISBN-13:9781837633289
ISBN-10:1837633282
Author:Dennis Neer, Leslie Andrews, Chi Zhang, Steven Hughes, Ram Babu Singh, Shabbir Mala
Publisher:Packt Publishing Limited
Imprint:Packt Publishing Limited
Format:Paperback
Number of Pages:270
Release Date:7 April 2023
Dimensions:191mm x 235mm
A-Format
B-Format
C-Format
SQL Query Design Patterns and Best Practices by Dennis Neer - ISBN: 9781837633289
191 × 235 mm
A4
mm / in
About The Author

Dennis Neer

Steve Hughes

Role: Senior Director of Data and Analytics at 3Cloud

Expertise: Growing team skills and capabilities for Azure data projects, delivering business intelligence (BI) solutions, implementing BI and cloud solutions. Passionate about demonstrating the value and profitability of data.

Experience: 20 years in technology.

Additional: Recently diagnosed with ALS, continues to work and share knowledge. Founder of Data on Wheels, blogging about data, analytics, and work enablement with his daughter.

Dennis Neer

Role: Senior Architect of Data and Analytics at 3Cloud

Expertise: Designing Azure data and analytics solutions to improve business decision-making. Utilizes tools such as SQL Server databases, Synapse, data lakes, and Power BI.

Experience: 30 years in technology, focusing on designing and building database and visualization solutions. Passionate about helping businesses leverage data for strategic advantage.

Dr. Ram Babu Singh

Role: Lead Architect of Data and Analytics at 3Cloud

Expertise: Implementing complex data analytics and data science solutions. Microsoft Certified Professional with a Ph.D. in Computer Science.

Experience: 20 years in the field, with over a decade in leadership roles at top IT consulting companies. Provided data science and data platform solutions.

Accolades: Published in international journals, holds a patent.

Shabbir H. Mala

Role: Director of Data and Analytics at 3Cloud

Expertise: Thought leadership and consulting in developing complex data solutions, business systems, and processes using Azure Data Services and Power BI. Manages a team of over 40 principals and senior architects, focusing on business growth, project delivery, and client experience.

Experience: Over 23 years in the field.

Accolades: Awarded Microsoft FastTrack Solution Architect in 2021 and 2022. Has presented at Power BI conferences and user groups.

Personal: Resides in Chicago, married with three children.

Andrews

Role: Lead Data Architect of Data and Analytics at 3Cloud

Expertise: Making data more accessible for end-users across various industries including local government, electrical supply, law enforcement, and healthcare. Specializes in SQL development, ETL, data warehousing, data modeling, and analytics. Holds multiple Microsoft certifications in Azure data technologies.

Experience: Over 20 years in the IT sector.

Philosophy: Approaches each day as an opportunity to use data and technology to simplify the work of others.

Community Involvement: Public speaking since 2015, IDERA ACE in 2019, supporter and contributor to the SQL community.

Chi Zhang

Role: Lead Data Architect at 3Cloud

Expertise: Delivering customized data solutions within Azure for clients across various industries. Focuses on ETL, data warehousing, data modeling, and BI reporting to provide operational insights and enhance user experience. Holds Azure data engineering and data science certifications.

Education: Master’s degree from Carnegie Mellon University.

Experience: 5 years in data consulting.

Community Involvement: Increasingly active in the Azure community, including giving public tech talks, co-authoring a technical book, and contributing to the SQL community.

Returns

This item is eligible for free returns within 30 days of delivery. See our returns policy for further details.