SQLĀ forĀ DataĀ Engineering

MyĀ full course to help you

build production data pipelines withĀ SQL

All video lessons are free on YouTube
Supporter Access unlocks structure, guided practice, and community

Ā 

Unlock Full Access
Video Poster Image

Pricing

FREE OPTION

Free

Features:

šŸŽ„ Full YouTube Course (14+ hours)

šŸ§‘ā€šŸ’» Two Complete PortfolioĀ Projects

šŸ”— Links to Required Materials & Resources

šŸ“Š Real-World Dataset (2023 to mid-2025)

Ā 

SUPPORTERS

$49

One-time payment — Supporter Access adds:

🧪 170+ Interview-Level SQL Problems

šŸ“ŗ Playlist-Style Lesson Videos

ā³ Progress Tracking

šŸ’¬Ā Community AccessĀ 

šŸ“ Course Notes

šŸ“‹Ā Cheat Sheets

šŸ†Ā Certificate of Completion

šŸŽ Full Real-World Dataset (2023–Present)

Unlock Full Access

Course Outline

Course Timeline Accordion
0ļøāƒ£ Course Intro
ā±ļø 19 mins šŸ“š 3 Lessons
ā–¾
Course Intro
ā±ļø 6 mins šŸ“¦ 1 concepts
ā–¾
Course Intro
ā±ļø 6 mins
What is SQL
ā±ļø 6 mins šŸ“¦ 1 concepts
ā–¾
What is SQL
ā±ļø 6 mins
Data & Pipeline Intro
ā±ļø 6 mins šŸ“¦ 1 concepts
ā–¾
Data & Pipeline Intro
ā±ļø 6 mins
1ļøāƒ£ SQL Foundations
ā±ļø 4 hrs 12 mins šŸ“š 12 Lessons
ā–¾
SQL & Dataset Setup
ā±ļø 14 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Where are we running SQL
ā±ļø 3 mins
Create a MotherDuck Account
ā±ļø 2 mins
MotherDuck UI Walkthrough
ā±ļø 5 mins
Database Setup
ā±ļø 4 mins
Basic Keywords
ā±ļø 19 mins šŸ“¦ 9 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
SELECT * / FROM
ā±ļø 4 mins
LIMIT
ā±ļø 1 min
DISTINCT
ā±ļø 2 mins
WHERE
ā±ļø 3 mins
IS NULL / IS NOT NULL
ā±ļø 2 mins
Commenting Code
ā±ļø 2 mins
ORDER BY
ā±ļø 2 mins
Order of Commands
ā±ļø 2 mins
DuckDB - Friendly Syntax
ā±ļø 2 mins
Comparison & Logical Operators
ā±ļø 23 mins šŸ“¦ 5 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Intro to Operators
ā±ļø 1 min
Comparison Operators - Pt.1 (=, !=, <, >)
ā±ļø 6 mins
Logical Operators (AND, OR, NOT)
ā±ļø 6 mins
Comparison Operators - Pt.2 (BETWEEN, IN)
ā±ļø 3 mins
Final Example
ā±ļø 6 mins
Wildcards & Aliases
ā±ļø 11 mins šŸ“¦ 3 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Wildcards w/ LIKE
ā±ļø 4 mins
Alias w/ AS
ā±ļø 2 mins
Final Example
ā±ļø 4 mins
Arithmetic Operators
ā±ļø 12 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Arithmetic Operators Intro
ā±ļø <1 min
Addition & Subtraction
ā±ļø 5 mins
Multiplication & Division
ā±ļø 3 mins
Modulus (%)
ā±ļø 3 mins
Aggregate Functions
ā±ļø 17 mins šŸ“¦ 9 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Aggregate Function Intro
ā±ļø 1 min
COUNT()
ā±ļø 2 mins
COUNT(DISTINCT)
ā±ļø 1 min
SUM()
ā±ļø 1 min
AVG()
ā±ļø <1 min
GROUP BY
ā±ļø 3 mins
MIN() / MAX()
ā±ļø 2 mins
MEDIAN()
ā±ļø 3 mins
HAVING
ā±ļø 3 mins
Terminal Intro
ā±ļø 33 mins šŸ“¦ 5 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Intro to the Terminal
ā±ļø 4 mins
Installing / Opening the Terminal
ā±ļø 7 mins
Basic Terminal Commands (pwd, ls, cd)
ā±ļø 4 mins
Working with Files & Folders (mkdir, touch, rm)
ā±ļø 15 mins
Getting Help
ā±ļø 2 mins
Local DuckDB Intro
ā±ļø 38 mins šŸ“¦ 10 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Local DuckDB Intro
ā±ļø 2 mins
Install DuckDB (Disclaimer)
ā±ļø 4 mins
Install DuckDB - Windows Users ("Easy" Option)
ā±ļø 4 mins
Install DuckDB - Windows Users (Pro Option)
ā±ļø 2 mins
Install DuckDB - Mac Users (Easy Option)
ā±ļø 6 mins
Install DuckDB - Mac Users (Pro Option)
ā±ļø 3 mins
Local DuckDB Terminal Intro
ā±ļø 2 mins
Local DuckDB Database
ā±ļø 6 mins
Local DuckDB UI
ā±ļø 4 mins
Local DuckDB Connect to MotherDuck
ā±ļø 4 mins
VS Code Intro
ā±ļø 23 mins šŸ“¦ 5 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Why VS Code?
ā±ļø 3 mins
VS Code Install & Intro
ā±ļø 4 mins
VS Code SQL Setup
ā±ļø 5 mins
Setting up DuckDB & MotherDuck
ā±ļø 8 mins
Getting Help w/ GitHub Copilot
ā±ļø 3 mins
Data Modeling Pt.1
ā±ļø 20 mins šŸ“¦ 3 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Databases, Schemas, & Tables
ā±ļø 6 mins
Entity Relationship Diagram (ERD)
ā±ļø 7 mins
Database Metadata (information_schema)
ā±ļø 7 mins
JOINs
ā±ļø 22 mins šŸ“¦ 6 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
What are JOINs?
ā±ļø 1 min
LEFT JOIN
ā±ļø 8 mins
RIGHT JOIN
ā±ļø 2 mins
INNER JOIN
ā±ļø 2 mins
FULL OUTER JOIN
ā±ļø 2 mins
Final Example
ā±ļø 7 mins
Order of Execution
ā±ļø 19 mins šŸ“¦ 5 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Query Processing 101
ā±ļø 2 mins
SQL Clause Order
ā±ļø 1 min
Order of Execution
ā±ļø 2 mins
Final Example Pt.1 - Query Order Execution
ā±ļø 7 mins
Final Example Pt.2 - Execution w/ EXPLAIN
ā±ļø 8 mins
šŸ“Š SQL Exploratory Data Analysis — Project 1
ā±ļø 1 hr 40 mins šŸ“š 7 Lessons
ā–¾
Project #1 Intro
ā±ļø 8 mins šŸ“¦ 3 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Background: Data Warehouse
ā±ļø 2 mins
Project #1 Goal
ā±ļø 2 mins
Project #1 Scope
ā±ļø 3 mins
EDA #1 - In-Demand Skills
ā±ļø 9 mins šŸ“¦ 1 concepts
ā–¾
EDA #1 - In-Demand Skills
ā±ļø 9 mins
EDA #2 - Highest Paying Skills
ā±ļø 9 mins šŸ“¦ 1 concepts
ā–¾
EDA #2 - Highest Paying Skills
ā±ļø 9 mins
EDA #3 - Most Optimal Skills
ā±ļø 15 mins šŸ“¦ 1 concepts
ā–¾
EDA #3 - Most Optimal Skills
ā±ļø 15 mins
README.md Build
ā±ļø 16 mins šŸ“¦ 3 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
README.md Intro
ā±ļø 2 mins
Markdown Basics
ā±ļø 7 mins
README.md Build
ā±ļø 7 mins
Git & GitHub Pt.1
ā±ļø 36 mins šŸ“¦ 6 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Git vs. GitHub
ā±ļø 5 mins
Homebrew & Git Install (Mac Users Only)
ā±ļø 3 mins
Git Setup (git config)
ā±ļø 2 mins
Create Local Repository (git init, add, commit)
ā±ļø 13 mins
GitHub Setup w/ Remote Repository
ā±ļø 2 mins
Push & Pull Repo w/ GitHub (git push, git pull)
ā±ļø 10 mins
Share Project #1
ā±ļø 7 mins šŸ“¦ 2 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
GitHub Final Push - Add README.md
ā±ļø 3 mins
LinkedIn - Project Share & Post
ā±ļø 3 mins
2ļøāƒ£ Production SQL
ā±ļø 6 hrs 22 mins šŸ“š 13 Lessons
ā–¾
Data Types
ā±ļø 17 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Data Types Intro
ā±ļø 2 mins
Common Data Types
ā±ļø 4 mins
Check Column Data Type
ā±ļø 2 mins
CAST Operator
ā±ļø 8 mins
DDL & DML Pt.1
ā±ļø 38 mins šŸ“¦ 8 concepts
ā–¾
Lesson Intro
ā±ļø 2 mins
DDL vs. DML Intro
ā±ļø 4 mins
CREATE / DROP DATABASE
ā±ļø 4 mins
CREATE / DROP SCHEMA
ā±ļø 4 mins
CREATE / DROP TABLE
ā±ļø 9 mins
INSERT INTO
ā±ļø 5 mins
ALTER TABLE - ADD / DROP COLUMN
ā±ļø 2 mins
UPDATE
ā±ļø 2 mins
ALTER TABLE - RENAME TABLE & RENAME/ALTER COLUMN
ā±ļø 6 mins
DDL & DML Pt.2
ā±ļø 25 mins šŸ“¦ 6 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
DDL & DML - Refresher
ā±ļø 3 mins
CTAS - CREATE TABLE AS SELECT
ā±ļø 5 mins
CREATE VIEW
ā±ļø 5 mins
CREATE TEMP TABLE
ā±ļø 4 mins
DELETE
ā±ļø 3 mins
TRUNCATE
ā±ļø 4 mins
Subqueries and CTEs
ā±ļø 36 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
What are Subqueries & CTEs?
ā±ļø 4 mins
Subquery
ā±ļø 10 mins
CTEs - Common Table Expressions
ā±ļø 9 mins
Final Example - Existence Filtering w/ EXISTS
ā±ļø 11 mins
DDL & DML Pt.3
ā±ļø 39 mins šŸ“¦ 6 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Batch vs. Continuous Processing
ā±ļø 5 mins
priority_roles - Table Load
ā±ļø 3 mins
priority_jobs_snapshot - Initial Load
ā±ļø 7 mins
UPDATE / INSERT / DELETE (Refresher)
ā±ļø 14 mins
MERGE INTO
ā±ļø 7 mins
CTAS vs. MERGE
ā±ļø 3 mins
Data Modeling Pt.2
ā±ļø 23 mins šŸ“¦ 6 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Data Modeling - Refresher
ā±ļø 1 min
Why Data Modeling Matters?
ā±ļø 3 mins
Source Systems to Analytical Systems
ā±ļø 3 mins
Choosing a Database: OLTP vs OLAP
ā±ļø 3 mins
Core Design Patterns
ā±ļø 8 mins
SCDs - Slowly Changing Dimensions
ā±ļø 4 mins
CASE Expressions
ā±ļø 21 mins šŸ“¦ 3 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
CASE Expressions
ā±ļø 2 mins
CASE: Engineering Use Cases
ā±ļø 12 mins
Final Example
ā±ļø 6 mins
Date Functions
ā±ļø 22 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Intro to Dates
ā±ļø 3 mins
EXTRACT()
ā±ļø 5 mins
DATE_TRUNC()
ā±ļø 5 mins
AT TIME ZONE
ā±ļø 9 mins
SET Operators
ā±ļø 17 mins šŸ“¦ 2 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
UNION / INTERSECT / EXCEPT
ā±ļø 6 mins
Final Example
ā±ļø 10 mins
Text & NULL Functions
ā±ļø 18 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Text Functions - REPLACE / CONCAT
ā±ļø 7 mins
Final Example - Text Functions
ā±ļø 3 mins
NULL Functions - NULLIF / COALESCE
ā±ļø 6 mins
Final Example - NULL Functions
ā±ļø 2 mins
Window Functions
ā±ļø 34 mins šŸ“¦ 8 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
What are Window Functions?
ā±ļø 3 mins
Window Function Syntax
ā±ļø 3 mins
PARTITION BY
ā±ļø 5 mins
ORDER BY
ā±ļø 3 mins
PARTITION & ORDER BY
ā±ļø 6 mins
Aggregation Functions
ā±ļø 3 mins
Row & Rank Functions
ā±ļø 5 mins
Navigation Functions
ā±ļø 6 mins
Nested Functions
ā±ļø 50 mins šŸ“¦ 8 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Intro to Nested Data Structures
ā±ļø 5 mins
Arrays
ā±ļø 7 mins
Structs
ā±ļø 6 mins
Array of Structs
ā±ļø 4 mins
Maps
ā±ļø 6 mins
JSON - JavaScript Object Notation
ā±ļø 6 mins
Final Example - Arrays
ā±ļø 9 mins
Final Example - Array of Structs
ā±ļø 6 mins
Git & GitHub Pt.2
ā±ļø 42 mins šŸ“¦ 7 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
What is a Branch?
ā±ļø 4 mins
Managing Branches (git branch, git switch)
ā±ļø 5 mins
Making Changes on a Branch
ā±ļø 4 mins
Merging Branches: Fast Forward Merge
ā±ļø 6 mins
Merging Branches: Three-Way Merge
ā±ļø 10 mins
Pull Requests (PRs)
ā±ļø 3 mins
.gitignore File
ā±ļø 9 mins
šŸ—ļø End-to-End Data Pipeline — Project 2
ā±ļø 2 hrs 12 mins šŸ“š 7 Lessons
ā–¾
Project #2 Intro
ā±ļø 11 mins šŸ“¦ 3 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Data Warehouse vs. Data Mart - Recap
ā±ļø 2 mins
Project #2 Goals
ā±ļø 2 mins
Project #2 Scope
ā±ļø 5 mins
Build Data Warehouse
ā±ļø 38 mins šŸ“¦ 5 concepts
ā–¾
Lesson Intro
ā±ļø <1 min
Project #2 Git Workflow
ā±ļø 2 mins
Create Star Schema Tables
ā±ļø 11 mins
Load Data into Data Warehouse
ā±ļø 16 mins
Data Validation
ā±ļø 5 mins
Merge Feature Branch to Development
ā±ļø 2 mins
Build Flat Table Mart
ā±ļø 19 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Why Build a Flat Table Mart?
ā±ļø 2 mins
Build Flat Table Mart
ā±ļø 11 mins
Data Validation
ā±ļø 3 mins
Commit & Merge
ā±ļø 2 mins
Build Skills Mart
ā±ļø 28 mins šŸ“¦ 4 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Why Build a Skill Demand Mart?
ā±ļø 3 mins
Building Skill Demand Mart
ā±ļø 19 mins
Data Validation
ā±ļø 2 mins
Update Master Build Script & Commit/Merge
ā±ļø 2 mins
Build Priority Mart
ā±ļø 22 mins šŸ“¦ 6 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Why Build This Priority Mart?
ā±ļø 1 min
Create the Priority Mart
ā±ļø 7 mins
Incremental Updates to Mart
ā±ļø 6 mins
Update Master Build Script & Commit/Merge
ā±ļø 2 mins
MotherDuck Deployment of DW & Mart
ā±ļø 4 mins
Optional Exercise: Build Company Mart
ā±ļø 1 min
README.md Build
ā±ļø 11 mins šŸ“¦ 3 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
Build Project #2 README.md
ā±ļø 6 mins
Update Main Repo README.md
ā±ļø 1 min
Commit & Merge
ā±ļø 3 mins
Share Project #2
ā±ļø 4 mins šŸ“¦ 1 concepts
ā–¾
Lesson Intro
ā±ļø 1 min
LinkedIn Updates
ā±ļø 4 mins

CourseĀ Resources

šŸ’½ Course Dataset — SQL Environment

This is the primary dataset used throughout the entire course. It contains real-world data engineering & analytics job postings (2023 to mid-2025) and is hosted in MotherDuck for instant querying.

šŸ”— Step 1 — Sign in to MotherDuck

Create your free account šŸ‘‰ https://lukeb.co/motherduck

šŸ’»Ā Step 2 — Attach Database

Run this SQL inside the MotherDuck editor:

SQL
ATTACH 'md:_share/data_jobs/87603155-cdc7-4c80-85ad-3a6b0d760d93'

Ā 

šŸ“Š Project 1 — SQL Exploratory Data Analysis


Explore real-world job data using SQL to uncover in-demand skills, salary trends, and hiring patterns. You’ll practice EDA techniques and build your first portfolio-ready project.

šŸ”—Ā Project #1Ā Repo

šŸ‘‰ https://lukeb.co/sql-de-project1

Ā 

Ā 

Ā šŸ—ļø Project 2 — Data Pipeline: Warehouse + Mart


Build a production-style SQL pipeline — modeling a data warehouse and creating analytical marts. You’ll apply data modeling, transformations, and best practices to deliver a second portfolio project.

šŸ”—Ā Project #2 Repo

šŸ‘‰Ā https://lukeb.co/sql-de-project2

SupporterĀ Resources

šŸ“Ā  Practice Problems

Ā 
🧩 170+ Interview-Level Problems: Learn SQL faster with meticulously designed exercises spanning a range from easy to challenging
Ā 
šŸ” Detailed Solutions and Results: Every problem is accompanied by a comprehensive solution andĀ your expected query results

Ā 

Ā 

šŸ“ŗĀ  Structured Video Lessons

Ā 
🚢 Navigate with Ease: Jump instantly to any lesson or specific topic within the course – no more wasting time scrubbing through hours of video to find what you need
Ā 
🧠 Focused Learning: Master concepts more effectively with dedicated, bite-sized videos for each distinct lesson, allowing for better concentration and easier review

Ā 

Ā 

šŸ—’ļø Lesson Notes &Ā Cheat Sheets

Ā 
šŸ“– Structured Lesson Notes:Ā Step-by-step walkthroughs for every topic, helping you follow along with each lesson and understand why queries and pipelines are built the way they are
Ā 
šŸ“‹ Practical Cheat Sheets: Quick-reference guides for core SQL syntax, transformations, and data engineering concepts you’ll reuse across projects

Ā 

✨ Certificate of Completion


šŸŽ–ļøĀ Certificate of Completion:Ā Receive a certificate to validate your new skills and enhance your LinkedIn profile

šŸ§‘ā€šŸ’»Ā Showcase Experience:Ā Share how you usedĀ real-world data to help solve a problem for data professionals

Ā 

Unlock Full Access

About theĀ Instructors

Luke BarousseĀ - Course Instructor

Ā šŸŒŽ Real-worldĀ Experience withĀ SQL
Spearheaded innovative projects in collaboration with MrBeast's team, integrating popular tools like SQL & Python.
Ā 
šŸ’”šŸ¤– Sharing Knowledge about Data & AIĀ 
Guides a community of +600,000 data nerdsĀ in harnessing analytical tools to revolutionize their professional workflows.

šŸŽ“ Trusted Course DeveloperĀ 
Imparted wisdomĀ to +30,000 learners on DataCamp in leveraging analytical tools to elevate their career efficiency.
Ā 

Ā 

Kelly AdamsĀ - CourseĀ Producer

Ā šŸ•¹ļø Hands on Experience with SQL
Driving strategic decisionsĀ within the social gaming industry at Golden Hearts Games,Ā using popularĀ tools like Google BigQuery (SQL), Dataform (dbt) and Looker.
Ā 
šŸ“ŠĀ Analytics Engineering &Ā Data Pipelines
Building scalable data pipelines that support product, finance, and growth teams with reliable, decision-ready metrics.
Ā 
šŸ“¹ Course Producer for Data Analytics Content
Educating an audience of +600,000 analysts about the latest data analytical tools to improve their professional skill sets.
Ā 

Rikki SinghĀ - Content Developer

Ā šŸ§‘ā€šŸ’»Ā Hands-onĀ SQL & Analytics
Works across gaming, entertainment, and marketing—using Redshift and BigQuery toĀ query and model data,Ā andĀ builds decision-ready dashboards in Looker and Tableau.
Ā 
šŸ’¼Ā Director-LevelĀ OperatorĀ 
Leads analytics initiatives—bringing a ā€œwhat matters to the businessā€ lens toĀ every lesson and project.

šŸŽ¬Ā Course Producer forĀ Data Analytics Content
Builds high-signal practice problems by benchmarking a wide range ofĀ learning platformsĀ and question styles, then translating the bestĀ patternsĀ into realistic,Ā interview-ready exercises.

100% Satisfaction Guarantee or Your Money Back

Ā 

ā±ļø If you don’t feel the course problems and notes help you learnĀ this tool as it has for countless others, I’ll refund your money!

šŸ“« Email me within 30 days of purchasing the course on why you are unsatisfied, and I’ll return the full purchase price to you ASAP.

FAQ

Unlock Full Access