Leveling Up with SQL: Advanced Techniques for Transforming Data into Insights
- 4h 42m
- Mark Simon
- Apress
- 2023
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 You'll 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 This Book Is For
SQL Databases users who want to improve their knowledge and techniques.
About the Author
Mark Simon has been involved in training and education since the beginning of his career. He started as a teacher of mathematics, but quickly pivoted into IT consultancy and training because computers are much easier to work with than high school students. He has worked with and trained in several programming and coding languages, and currently focuses mainly on web development and database languages. When not involved in work, you will generally find him listening to or playing music, reading, or just wandering about.
In this Book
-
Introduction
-
Getting Ready
-
Working with Table Design
-
Table Relationships and Joins
-
Working with Calculated Data
-
Aggregating Data
-
Using Views and Friends
-
Working with Subqueries and Common Table Expressions
-
Window Functions
-
More on Common Table Expressions
-
More Techniques—Triggers, Pivot Tables, and Variables