Course Overview
Are you comfortable writing basic SQL queries but want to take your SQL skills to the next level?
This course is designed for students who already understand the fundamentals of SQL and want to learn the advanced concepts that are commonly used by data analysts, data scientists, business intelligence developers and SQL developers in real world projects.
Instead of spending hours learning rarely used features this course focuses on the techniques that professionals use every day to write efficient readable and powerful SQL queries.
Throughout the course you will learn advanced querying techniques using practical examples and hands on demonstrations in Microsoft SQL Server.
You will learn how SQL actually processes a query and understand some of the most common mistakes developers make. You will explore conditional logic using CASE expressions and learn how to write scalar subqueries correlated subqueries and Common Table Expressions to simplify complex SQL problems.
The course also includes an in-depth section on window functions where you will learn ranking functions aggregate window functions window frames LAG LEAD FIRST VALUE LAST VALUE NTILE and PERCENT RANK through easy-to-understand examples.
Finally, you will apply everything you have learned by working on a real-world SQL capstone project where you will import data clean it explore the dataset and answer business questions using advanced SQL techniques.
FAQ
FAQ area empty
Course curriculum
Chương 1 Course Setup 2 bài · 7 phút
Chương 2 Common SQL Mistakes Every Developer Makes 5 bài · 29 phút
- SQL Query Processing Order Học thử 12:01
-
Integer Division Pitfalls 2:37
-
Handling NULLs and Divide-by-Zero Errors in SQL 5:09
-
Aggregate Functions with NULL 3:52
-
UNION vs UNION ALL: Choosing the Right Set Operator 5:16
Chương 3 Conditional Logic in SQL 2 bài · 13 phút
-
Simple CASE Expression 7:05
- Searched CASE Expression Học thử 5:55
Chương 4 Writing Subqueries and Common Table Expressions (CTE) 12 bài · 1 giờ 24 phút
- Scalar Subqueries Học thử 8:44
-
Multi-Row Subqueries 6:22
-
Subqueries in FROM Clause (Derived Tables) 7:15
-
Using Subqueries with CASE Expressions 5:12
-
Nested Subqueries and Derived Tables 5:01
- Correlated Subqueries Học thử 6:25
-
EXISTS and NOT EXISTS 7:51
-
Introduction to Common Table Expressions (CTEs) 7:21
- Multi-Level Common Table Expressions (CTEs) Học thử 12:22
-
CTE Code
-
Example Problem 1 10:21
-
Example Problem 2 6:49
Chương 5 Window Functions for Advanced Querying 5 bài · 45 phút
-
Mastering Aggregate Window Functions 12:31
-
Advanced Ranking Functions (ROW_NUMBER, RANK, DENSE_RANK, NTILE & PERCENT_RANK) 10:54
-
Window Frames with ROWS BETWEEN 8:34
-
Comparing Rows Using LAG and LEAD 5:43
-
Retrieving Boundary Values with FIRST_VALUE and LAST_VALUE 6:48
Chương 6 Capstone Project 5 bài · 1 giờ 2 phút
-
Import Data to SQL Server 3:58
-
Data Cleaning 17:35
-
Data Exploration (Q1 to Q3) 13:07
-
Data Exploration (Q4 to Q6) 8:49
-
Data Exploration (Q7 to Q10) 18:47
Requirment
-
Basic knowledge of SQL, including SELECT, WHERE, GROUP BY
-
No prior knowledge of advanced SQL topics is required
Outcomes
-
Master advanced SQL concepts including Subqueries, Common Table Expressions, and Window Functions.
-
Write efficient SQL queries using CASE expressions, EXISTS, and advanced analytical functions.
-
Avoid common SQL mistakes and write cleaner, more optimized SQL code.
-
Solve real world business problems using advanced SQL techniques and a hands-on capstone project.
-
Build confidence to tackle advanced SQL interview questions and workplace scenarios.
0 Student
2 Courses
0 review