Choose your language
SQL Concepts for Data Engineers Course
Over 2 million learners across the globe

SQL Concepts for Data Engineers Course

Master the SQL skills that data engineering teams actually rely on — from relational modelling and complex joins to window functions and query optimisation. This course covers the full spectrum of SQL concepts used in modern data pipelines, warehouses, and cloud platforms. Whether you're building ingestion workflows or tuning slow queries, you'll gain the technical depth to deliver production-ready SQL with confidence.

Dedika for businesses

What you will learn:

  • Design normalised relational schemas and translate business requirements into accurate ER diagrams.

  • Write advanced SELECT queries using joins, subqueries, CTEs, and window functions for analytical pipelines.

  • Apply aggregation, grouping, and HAVING logic to produce reliable metrics and dimensional summaries.

  • Implement DDL operations, constraints, and views to manage schema lifecycles in engineering environments.

  • Optimise query performance by reading execution plans, designing indexes, and applying partitioning strategies.

  • Adapt SQL patterns to data warehouse architectures, including star schemas, SCDs, and incremental load techniques.

How you study practically SQL Concepts for Data Engineers Course

How you practise SQL Concepts for Data Engineers Course

For companies looking to train their teams

With Dedika for businesses, the course includes exercises and examples tailored to your own business and the way your company needs.

Click here

Course content

8 Chapters • 40 LessonsDuration between 4 and 360 hours (you decide)

Chapter 1See details

Foundations of Relational Databases

  • Lesson 1 • Normalization Principles

    Reduces data redundancy by applying normal forms up to 3NF. Prepares students to evaluate schema quality before querying.

  • Lesson 2 • Database Schemas and Catalogs

    Explains how schemas organise objects within a database instance. Connects schema awareness to multi-team data engineering environments.

  • Lesson 3 • Relational Model Core Concepts

    Introduces tables, rows, columns, and domains as the building blocks of relational data. Establishes vocabulary used throughout the course.

  • Lesson 4 • Entity-Relationship Modeling

    Translates business requirements into ER diagrams before writing SQL. Provides a design-first approach to schema creation.

  • Lesson 5 • Primary and Foreign Keys

    Defines entity identity and inter-table references using keys. Connects key constraints to data integrity enforcement.

Chapter 2See details

SQL Query Fundamentals

  • Lesson 1 • Pattern Matching and String Filters

    Uses LIKE, wildcards, and string functions to filter text data. Supports common data-cleaning tasks in engineering workflows.

  • Lesson 2 • Filtering Rows with WHERE

    Applies comparison and logical operators to restrict result sets. Directly enables targeted data extraction for pipeline inputs.

  • Lesson 3 • SELECT Statement Structure

    Covers the logical and physical execution order of a SELECT query. Anchors all subsequent query-writing to a consistent mental model.

  • Lesson 4 • Expressions and Computed Columns

    Builds derived values using arithmetic, string, and conditional expressions. Extends raw column data into pipeline-ready outputs.

  • Lesson 5 • Sorting and Limiting Results

    Controls output order and row count using ORDER BY and LIMIT. Essential for reproducible sampling and pagination in pipelines.

Chapter 3See details

Aggregation and Grouping

  • Lesson 1 • DISTINCT and Deduplication

    Removes duplicate rows using DISTINCT and COUNT DISTINCT. Supports data-quality checks common in ingestion validation steps.

  • Lesson 2 • Rollup and Cube Extensions

    Generates subtotals and cross-tabulations using ROLLUP and CUBE. Enables multi-level summary reports without multiple queries.

  • Lesson 3 • Filtering Groups with HAVING

    Applies post-aggregation filters using HAVING to remove unwanted groups. Distinguishes HAVING from WHERE in execution order.

  • Lesson 4 • Aggregate Functions Overview

    Introduces COUNT, SUM, AVG, MIN, and MAX as the core aggregation toolkit. Establishes how aggregates collapse multiple rows into single values.

  • Lesson 5 • GROUP BY Mechanics

    Groups rows by one or more columns before applying aggregates. Connects grouping logic to dimensional analysis in data warehouses.

Chapter 4See details

Joining Tables Effectively

  • Lesson 1 • Inner Join Fundamentals

    Returns only matching rows from both tables using INNER JOIN. Forms the baseline join pattern for most data engineering queries.

  • Lesson 2 • Self Joins and Cross Joins

    Joins a table to itself and generates Cartesian products for specific use cases. Expands the join toolkit for hierarchical and combinatorial data.

  • Lesson 3 • Outer Joins and NULL Handling

    Preserves unmatched rows using LEFT, RIGHT, and FULL OUTER JOIN. Critical for detecting missing relationships in pipeline data.

  • Lesson 4 • Set Operations on Result Sets

    Combines or compares result sets using UNION, INTERSECT, and EXCEPT. Supports incremental load patterns and data reconciliation tasks.

  • Lesson 5 • Joining Multiple Tables

    Chains three or more joins in a single query to traverse complex schemas. Builds the multi-table query skills needed for star-schema analytics.

Chapter 5See details

Subqueries and CTEs

  • Lesson 1 • EXISTS and NOT EXISTS

    Tests for row existence using semi-join and anti-join patterns. Provides efficient alternatives to IN for large correlated datasets.

  • Lesson 2 • Recursive CTEs

    Traverses hierarchical and graph-structured data using recursive WITH clauses. Enables parent-child traversal without procedural code.

  • Lesson 3 • Derived Tables in FROM

    Uses subqueries in the FROM clause as virtual tables for further querying. Enables multi-step transformations within a single SQL statement.

  • Lesson 4 • Scalar and Inline Subqueries

    Embeds subqueries in SELECT and WHERE clauses to compute single values. Introduces the concept of nested query execution.

  • Lesson 5 • Common Table Expressions

    Defines named result sets with WITH clauses to improve query readability. Replaces deeply nested subqueries with modular, step-by-step logic.

Chapter 6See details

Window Functions for Analytics

  • Lesson 1 • Ranking Functions

    Assigns ordinal positions using ROW_NUMBER, RANK, and DENSE_RANK. Supports deduplication, top-N selection, and leaderboard generation.

  • Lesson 2 • Window Function Syntax

    Introduces the OVER clause and its components: PARTITION BY, ORDER BY, and frame. Establishes the execution model that distinguishes window from aggregate functions.

  • Lesson 3 • Aggregate Window Functions

    Applies SUM, AVG, and COUNT over a sliding or cumulative window frame. Produces running totals and moving averages for time-series pipelines.

  • Lesson 4 • Offset Functions

    Accesses preceding and following row values using LAG and LEAD. Enables period-over-period comparisons without self-joins.

  • Lesson 5 • First and Last Value Functions

    Retrieves boundary values within a partition using FIRST_VALUE and LAST_VALUE. Useful for session analysis and gap-filling in event data.

Chapter 7See details

Data Manipulation and DDL

  • Lesson 1 • Creating and Altering Tables

    Defines table structure with CREATE TABLE and modifies it with ALTER TABLE. Covers the DDL operations central to schema management in pipelines.

  • Lesson 2 • Deleting and Truncating Data

    Removes rows with DELETE and clears tables with TRUNCATE. Covers safe deletion patterns critical for pipeline idempotency.

  • Lesson 3 • Inserting and Updating Data

    Loads and modifies rows using INSERT, UPDATE, and bulk insert patterns. Directly supports data ingestion and correction workflows.

  • Lesson 4 • Constraints and Indexes

    Enforces data integrity with NOT NULL, UNIQUE, CHECK, and foreign key constraints. Introduces indexes as a performance tool tied to query patterns.

  • Lesson 5 • Views and Materialized Views

    Encapsulates queries as reusable views and pre-computed materialised views. Supports abstraction layers and performance optimisation in data platforms.

Chapter 8See details

Query Optimisation and Performance

  • Lesson 1 • Query Rewriting Techniques

    Rewrites inefficient queries using sargable predicates and join substitutions. Produces equivalent logic with lower execution cost.

  • Lesson 2 • Partitioning for Performance

    Applies table partitioning to enable partition pruning and parallel scans. Scales query performance on large fact tables in data warehouses.

  • Lesson 3 • Index Design and Usage

    Selects and creates indexes that align with query access patterns. Reduces full-table scans in high-frequency pipeline queries.

  • Lesson 4 • Understanding Execution Plans

    Reads query execution plans to identify costly operations and bottlenecks. Connects plan analysis to targeted optimisation decisions.

  • Lesson 5 • Statistics and the Query Planner

    Explains how the query planner uses table statistics to choose execution strategies. Covers statistics maintenance to prevent plan regression.

Certification

Your valid completion certificate

This course is for you:

  • Junior data engineers: ready to move beyond scripts into structured SQL expertise.

  • Data analysts: looking to cross over into engineering roles and responsibilities.

  • Backend developers: wanting to handle data layer logic with greater precision.

  • BI developers: needing deeper SQL foundations to support complex reporting pipelines.

  • Career changers: entering the data field from non-technical or adjacent backgrounds.

  • Analytics engineers: seeking to formalise self-taught SQL habits into professional standards.

What our students say

Your lessons are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to change platforms... I thank you for everything you do, I've already recommended you to other people...
Giulio Carlo
Giulio CarloDigital Marketing Student
I like how the lessons are straight to the point and how I can change chapters and skip content I don't need.
Mariana Ferres
Mariana FerresPhotography Student
I like the content and the way videos are presented and transcribed, which speeds up the process!
Luciana Alvarenga
Luciana AlvarengaNail Design Student
The platform is fast, simple to use. The diversity of content and complementary videos help a lot with learning.
André Felipe
André FelipePrompt Engineering Student

Top training programmes

FAQ

Who is Dedika?

Is the certificate valid in Kenya?

Are the courses free?

What is the course workload?

What are the courses like?

How do the courses work?

What is the duration of the courses?

What is the cost or price of the courses?

What is an EAD or online course and how does it work?

PDF Course