Leveling Up with SQL: Advanced Techniques for Transforming Data into Insights

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Learn to write SQL queries to select and analyze data, and improve your ability to manipulate data. This book will help you take your existing skills to the next level.

Author Mark Simon kicks things off with a quick review of basic SQL knowledge, followed by a demonstration of how efficient SQL databases are designed and how to extract just the right data from them. You’ll then learn about each individual table’s structure and how to work with the relationships between tables. As you progress through the book, you will learn more sophisticated techniques such as using common table expressions and subqueries, analyzing your data using aggregate and windowing functions, and how to save queries in the form of views and other methods. This book employs an accessible approach to work through a realistic sample, enabling you to learn concepts as they arise to improve parts of the database or to work with the data itself.

After completing this book, you will have a more thorough understanding of database structure and how to use advanced techniques to extract, manage, and analyze data.

What Will You Learn

  • Gain a stronger understanding of database design principles, especially individual tables
  • Understand the relationships between tables
  • Utilize techniques such as views, subqueries, common table expressions, and windowing functions

Who Is This Book For:

SQL Databases users who want to improve their knowledge and techniques.

Author(s): Mark Simon
Edition: 1
Publisher: Apress
Year: 2023

Language: English
Pages: 474
City: Berkeley, CA
Tags: Database; PostgreSQL; Oracle; MySQL; MariaDB; SQLite; SQL; Data Analysis; Anomaly Detection; SQL; Relational Databases; Statistics; Queries; Window Functions

Front Matter
Pages i-xx

Getting Ready
Pages 1-23

Working with Table Design
Pages 25-58

Table Relationships and Joins
Pages 59-104

Working with Calculated Data
Pages 105-161

Aggregating Data
Pages 163-212

Using Views and Friends
Pages 213-234

Working with Subqueries and Common Table Expressions
Pages 235-274

Window Functions
Pages 275-312

More on Common Table Expressions
Pages 313-365

More Techniques: Triggers, Pivot Tables, and Variables
Pages 367-406

Back Matter
Pages 407-454