Course Overview
This is a hands-on, project-based course designed to help you move beyond the "Big 6" clauses into advanced querying techniques.
We’ll start by reviewing the basics and conducting multi-table analyses, including basic joins, self-joins, cross-joins, and unions.
Next, we’ll cover different ways of working with nested queries by writing subqueries and common table expressions, or CTEs. We’ll walk through examples of subqueries within the various clauses, rewrite subqueries as CTEs, introduce recursive CTEs, and compare these techniques to other options like temporary tables and views.
From there, we’ll break down each component of a window function and review common window functions like ROW_NUMBER, RANK, FIRST_VALUE, LEAD, and LAG. We’ll also cover general functions for working with different data types in SQL, including numeric, datetime, string, and NULL functions.
Last but not least, we’ll take the concepts we’ve learned and use them across a series of common data analysis applications. We’ll deal with duplicate values, apply special value filters, perform rolling calculations, and more.
To wrap up the course, you’ll work on a project as a Data Analyst Intern for Major League Baseball, and use advanced SQL querying techniques to track how player stats like salary, height, and weight have changed over time and across different teams.
COURSE OUTLINE:
SQL Basics Review
Review the big 6 clauses of a SQL query along with other commonly used keywords like LIMIT, DISTINCT, and more
Multi-Table Analysis
Review JOIN basics (INNER, LEFT, RIGHT, OUTER) and introduce variations like self joins, CROSS JOINs, and more
Subqueries & CTEs
Learn how to write subqueries and Common Table Expressions and understand the best situations for using certain techniques
Window Functions
Introduce window functions to perform calculations across a set of rows and discuss various function options and applications
Functions by Data Type
Discover the many SQL functions that can be applied to fields of numeric, datetime, string, and NULL data types
Data Analysis Applications
Apply advanced querying techniques to common data analysis scenarios, including pivoting data, rolling calculations, and more
Final Project
Leverage everything you've learned to track how Major League Baseball (MLB) player statistics have changed over time and across different teams in the league
__________
Ready to dive in? Join today and get immediate, LIFETIME access to the following:
8 hours of high-quality video
21 homework assignments
6 quizzes
4-part final project
Advanced SQL Querying ebook (150+ pages)
Downloadable project files & solutions
Expert support and Q&A forum
30-day Udemy satisfaction guarantee
If you’re an analyst, data scientist, or BI professional looking to master advanced querying with SQL, this is the course for you.
Happy learning!
-Alice Zhao (Author, SQL Pocket Guide and Data Science Instructor, Maven Analytics)
__________
Looking for our full business intelligence stack? Search for "Maven Analytics" to browse our full course library, including Excel, Power BI, MySQL, Tableau and Machine Learning courses!
See why our courses are among the TOP-RATED on Udemy:
"Some of the BEST courses I've ever taken. I've studied several programming languages, Excel, VBA and web dev, and Maven is among the very best I've seen!" Russ C.
"This is my fourth course from Maven Analytics and my fourth 5-star review, so I'm running out of things to say. I wish Maven was in my life earlier!" Tatsiana M.
"Maven Analytics should become the new standard for all courses taught on Udemy!" Jonah M.
FAQ
FAQ area empty
Course curriculum
Chương 1 Getting Started 6 bài
Chương 2 Installation & Setup 10 bài
- Installation & Setup Xem trước
- Where to Write SQL Code Học thử
- Installing MySQL (Mac) Xem trước
- Installing MySQL Workbench (Mac) Học thử
- Installing MySQL (PC) Xem trước
- Installing MySQL Workbench (PC) Xem trước
- Getting Started with MySQL Workbench Xem trước
- Loading Data for This Course Xem trước
- DEMO: Loading Data in MySQL Xem trước
- DEMO: Loading Data in Other RDBMSs Xem trước
Chương 3 SQL Basics Review 5 bài
Chương 4 Multi-Table Analysis 15 bài
- Section Introduction Xem trước
- Working with Multiple Tables Xem trước
- Basic Joins Xem trước
- Basic Join Types Xem trước
- ASSIGNMENT: Basic Joins Xem trước
- SOLUTION: Basic Joins Xem trước
- Joining on Multiple Columns Xem trước
- Joining Multiple Tables Xem trước
- Self Joins Xem trước
- ASSIGNMENT: Self Joins Xem trước
- SOLUTION: Self Joins Xem trước
- Cross Joins Xem trước
- UNION vs UNION ALL Xem trước
- Key Takeaways Xem trước
-
Multi-Table Analysis
Chương 5 Subqueries & CTEs 26 bài
- Section Introduction Xem trước
- Subquery Basics Xem trước
- Subqueries in the SELECT Clause Xem trước
- ASSIGNMENT: Subqueries in the SELECT Clause Xem trước
- SOLUTION: Subqueries in the SELECT Clause Xem trước
- Subqueries in the FROM Clause Xem trước
- Multiple Subqueries Xem trước
- ASSIGNMENT: Subqueries in the FROM Clause Xem trước
- SOLUTION: Subqueries in the FROM Clause Xem trước
- Subqueries in the WHERE & HAVING Clauses Xem trước
- ANY vs ALL Xem trước
- EXISTS and Correlated Subqueries Xem trước
- ASSIGNMENT: Subqueries in the WHERE Clause Xem trước
- SOLUTION: Subqueries in the WHERE Clause Xem trước
- Common Table Expressions Xem trước
- Subqueries vs CTEs Xem trước
- Referencing a CTE Multiple Times Xem trước
- ASSIGNMENT: CTEs Xem trước
- SOLUTION: CTEs Xem trước
- Multiple CTEs Xem trước
- ASSIGNMENT: Multiple CTEs Xem trước
- SOLUTION: Multiple CTEs Xem trước
- Recursive CTEs Xem trước
- Subqueries vs CTEs vs Temp Tables vs Views Xem trước
- Key Takeaways Xem trước
-
Subqueries & CTEs
Chương 6 Window Functions 21 bài
- Section Introduction Xem trước
- Window Function Basics Xem trước
- Breaking Down a Window Function Xem trước
- ASSIGNMENT: Window Functions Xem trước
- SOLUTION: Window Functions Xem trước
- Functions for Window Functions Xem trước
- ROW_NUMBER, RANK & DENSE_RANK Xem trước
- ASSIGNMENT: Row Numbering Xem trước
- SOLUTION: Row Numbering Xem trước
- FIRST_VALUE, LAST_VALUE & NTH_VALUE Xem trước
- ASSIGNMENT: Value Within a Window Xem trước
- SOLUTION: Value Within a Window Xem trước
- LEAD & LAG Xem trước
- ASSIGNMENT: Value Relative to a Row Xem trước
- SOLUTION: Value Relative to a Row Xem trước
- NTILE Xem trước
- ASSIGNMENT: Statistical Functions Xem trước
- SOLUTION: Statistical Functions Xem trước
- PREVIEW: Moving Average Calculations Xem trước
- Key Takeaways Xem trước
-
Window Functions
Chương 7 Functions By Data Type 21 bài
- Section Introduction Xem trước
- Function Basics Xem trước
- Numeric Functions Xem trước
- CAST & CONVERT Xem trước
- ASSIGNMENT: Numeric Functions Xem trước
- SOLUTION: Numeric Functions Xem trước
- DateTime Functions Xem trước
- ASSIGNMENT: DateTime Functions Xem trước
- SOLUTION: DateTime Functions Xem trước
- String Functions Xem trước
- ASSIGNMENT: String Functions Xem trước
- SOLUTION: String Functions Xem trước
- Pattern Matching Xem trước
- DEMO: Pattern Matching Xem trước
- ASSIGNMENT: Pattern Matching Xem trước
- SOLUTION: Pattern Matching Xem trước
- NULL Functions Xem trước
- ASSIGNMENT: NULL Functions Xem trước
- SOLUTION: NULL Functions Xem trước
- Key Takeaways Xem trước
-
Functions By Data Type
Chương 8 Data Analysis Applications 17 bài
- Section Introduction Xem trước
- Duplicate Values Xem trước
- ASSIGNMENT: Duplicate Values Xem trước
- SOLUTION: Duplicate Values Xem trước
- Min / Max Value Filtering Xem trước
- ASSIGNMENT: Min / Max Value Filtering Xem trước
- SOLUTION: Min / Max Value Filtering Xem trước
- Pivoting Xem trước
- ASSIGNMENT: Pivoting Xem trước
- SOLUTION: Pivoting Xem trước
- Rolling Calculations Xem trước
- DEMO: Rolling Calculations Xem trước
- ASSIGNMENT: Rolling Calculations Xem trước
- SOLUTION: Rolling Calculations Xem trước
- DEMO: Imputing NULL Values Xem trước
- Key Takeaways Xem trước
-
Data Analysis Applications
Chương 9 Final Project 9 bài
- Final Project Overview Xem trước
-
ASSIGNMENT: School Analysis
- SOLUTION: School Analysis Xem trước
-
ASSIGNMENT: Salary Analysis
- SOLUTION: Salary Analysis Xem trước
-
ASSIGNMENT: Player Career Analysis
- SOLUTION: Player Career Analysis Xem trước
-
ASSIGNMENT: Player Comparison Analysis
- SOLUTION: Player Comparison Analysis Xem trước
Chương 10 Next Steps 1 bài
-
BONUS LESSON
Requirment
-
Any SQL Editor (we'll walk you through the install process specifically for MySQL Workbench)
-
If you are new to SQL, we strongly recommend taking Maven Analytics' Beginner MySQL Business Intelligence course first
Outcomes
-
Conduct multi-table analysis using JOINs and learn variations like self joins, cross joins, and more
-
Learn to work with nested queries by writing subqueries and common table expressions (CTEs), and understand the best use cases for each
-
Use window functions to perform calculations across a set of rows and learn various function options and applications
-
Discover the many SQL functions that can be applied to fields of numeric, datetime, string, and NULL data types
-
Apply advanced querying techniques to common data analysis scenarios, including pivoting data, rolling calculations, and more
Instructor
Nguyễn Đình Cường
1.2
-
1 Student
-
330 Courses
-
1253 reviews
Xin chào các bạn, tôi là Nguyễn Đình Cường, một lập trình viên và giảng viên đam mê công nghệ với hơn 15 năm kinh nghiệm trong ngành công nghiệp phần mềm. Tôi tốt nghiệp từ Bưu Chính Viễn Thông và đã từng làm việc cho một số công ty công nghệ hàng đầu như FPT Software và VinGroup. Với chuyên môn chính là phát triển ứng dụng web, tôi đã làm việc với nhiều công nghệ như HTML, CSS, JavaScript, React cho front-end và Node.js, Express, MongoDB cho back-end. Không chỉ dừng lại ở việc viết mã, tôi còn yêu thích tìm hiểu sâu về thiết kế hệ thống và kiến trúc phần mềm. Tôi tin rằng quá trình học lập trình không chỉ đơn thuần là lý thuyết, mà còn là sự trải nghiệm thực tế và giải quyết vấn đề. Trong các khóa học của mình, tôi cố gắng cung cấp cho học viên những bài giảng thú vị và dễ hiểu, cùng với các bài tập thực hành giúp củng cố kiến thức. Tôi hy vọng rằng qua các khóa học của mình, bạn sẽ không chỉ học được cách viết mã, mà còn phát triển tư duy lập trình và kỹ năng giải quyết vấn đề. Hãy cùng nhau khám phá thế giới lập trình và biến ý tưởng của bạn thành hiện thực! Nếu bạn có bất kỳ câu hỏi nào, đừng ngần ngại liên hệ với tôi. Tôi rất vui được hỗ trợ bạn trong hành trình học tập của mình!
View Details