SQL Query Design Patterns and Best Practices: A practical guide to writing readable and maintainable SQL queries using its design patterns - Paperback
by Steve Hughes (Author), Dennis Neer (Author), Ram Babu Singh (Author)
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.
| Author | Steve Hughes, Dennis Neer, Ram Babu Singh |
|---|---|
| Format | Paperback |
| Pages | 270 |
| Publisher | Packt Publishing |
| Published | March 31, 2023 |
| ISBN-13 | 9781837633289 |
| Condition | Brand new |
Shipping
Every book ships brand new from a US warehouse within 1–4 business days and travels by USPS Media Mail with tracking. Most orders arrive 5–10 business days after you order; holidays and bad weather can add a few days.
Free shipping on orders $50+, otherwise $4.99 per order. We deliver to all 50 states, APO/FPO addresses and US territories. Shipping policy
Damaged book? Returns
If your book arrives damaged, defective or isn't the title you ordered, email support@readridge.com within 7 days of delivery with your order number and a photo. We'll send a free replacement or a full refund — no need to ship it back unless we ask.
Because each book is shipped new and sealed to you, we can't accept returns for change of mind or a title ordered by mistake. Please double-check the format and edition before checkout. Refund policy
Sending it as a gift?
Just enter the recipient's shipping address at checkout. The box arrives labeled “Your Book Order”, with no receipt or prices inside — gift-ready by default.