
SQL Course
Master SQL from the ground up and start pulling real insights from databases with confidence. This course covers everything from basic SELECT queries to advanced window functions, query optimization, and modern data stack integration. Whether you're breaking into data analytics or leveling up as a developer, you'll finish with skills that employers actually need.
What you will learn:
You'll start by understanding how relational databases are structured, then move into writing queries that filter, sort, and summarize data. From there, you'll learn to join multiple tables, use subqueries and CTEs, and modify database schemas safely. The course covers window functions for advanced analytics, indexing techniques for performance tuning, and patterns like cohort analysis and pivot queries used in real reporting. You'll also explore stored procedures, JSON data handling, version control for SQL workflows, and how SQL fits into cloud data warehouses and BI tools.
How you study in practice SQL Course
How you practice SQL Course
For companies that want to train their team
With Dedika for Business, the course includes exercises and examples tailored to your own business and the way your company needs.
Course content
8 Chapters • 33 LessonsDuration between 4 and 360 hours (you decide)
Chapter 1HideHide detailsSee detailsFoundations of Relational Databases
Foundations of Relational Databases
Lesson 1 • Setting Up a Practice Environment
Guides installation of a local database engine and a GUI client. Students run their first connection and verify the environment before writing any SQL.
Lesson 2 • What Is a Relational Database
Defines relational databases and contrasts them with flat files and NoSQL stores. Establishes the data model that SQL operates on throughout the course.
Lesson 3 • Normalization Principles
Covers first through third normal forms and the reasoning behind each. Prepares students to read and design schemas they will query throughout the course.
Lesson 4 • Keys, Constraints, and Relationships
Explains primary keys, foreign keys, and integrity constraints. Shows how relationships between tables form the backbone of normalized data.
Chapter 2HideHide detailsSee detailsWriting Basic SELECT Queries
Writing Basic SELECT Queries
Lesson 1 • Sorting and Limiting Results
Covers ORDER BY direction and LIMIT or TOP syntax for result control. Sorting and pagination are essential for readable, performant output.
Lesson 2 • Filtering Rows with WHERE
Teaches comparison and logical operators to restrict result sets. Filtering is the most frequent real-world SQL task and underpins all later query types.
Lesson 3 • SELECT and FROM Clauses
Introduces the minimal query structure and column selection syntax. Connects directly to the table and column concepts established in Chapter 1.
Lesson 4 • Working with String and Date Values
Applies LIKE pattern matching and basic date functions to filter and format data. Builds practical skills for the text and time data found in most business tables.
Chapter 3HideHide detailsSee detailsAggregate Functions and Grouping
Aggregate Functions and Grouping
Lesson 1 • Grouping Data with GROUP BY
Explains how GROUP BY partitions rows before aggregation. Students build multi-level summaries that mirror common analytical reporting needs.
Lesson 2 • Core Aggregate Functions
Introduces COUNT, SUM, AVG, MIN, and MAX with practical examples. Aggregates transform row-level data into the summary metrics most reports require.
Lesson 3 • Distinct Values and Counting
Uses DISTINCT and COUNT(DISTINCT) to analyze unique values within groups. Extends aggregate skills to cardinality and deduplication scenarios.
Lesson 4 • Filtering Groups with HAVING
Distinguishes HAVING from WHERE and shows when each applies. Correct use of HAVING is critical for accurate group-level business filters.
Chapter 4HideHide detailsSee detailsJoining Multiple Tables
Joining Multiple Tables
Lesson 1 • Joining Three or More Tables
Extends join skills to multi-table chains and bridge tables for many-to-many relationships. Builds the query complexity needed for real-world reporting.
Lesson 2 • Self Joins and Cross Joins
Covers joining a table to itself and generating Cartesian products. These specialized joins solve hierarchical and combinatorial problems in real schemas.
Lesson 3 • INNER JOIN Fundamentals
Teaches the INNER JOIN syntax and the matching logic behind it. INNER JOIN is the most common join type and the foundation for all other joins.
Lesson 4 • Outer Joins: LEFT, RIGHT, and FULL
Explains how outer joins preserve unmatched rows and when each variant applies. Students learn to identify and handle NULL values introduced by outer joins.
Chapter 5HideHide detailsSee detailsSubqueries and Set Operations
Subqueries and Set Operations
Lesson 1 • Common Table Expressions (CTEs)
Introduces WITH clause CTEs as readable alternatives to nested subqueries. CTEs are the preferred modern pattern for organizing complex query logic.
Lesson 2 • Subqueries in FROM and EXISTS
Uses derived tables in FROM and EXISTS for existence checks. These patterns replace complex joins and improve query expressiveness.
Lesson 3 • UNION, INTERSECT, and EXCEPT
Combines result sets from multiple queries using set operators. Students learn column alignment rules and deduplication behavior for each operator.
Lesson 4 • Scalar and Row Subqueries
Introduces subqueries that return a single value or row for use in SELECT and WHERE. Establishes the nesting concept that all advanced query patterns build on.
Chapter 6HideHide detailsSee detailsData Modification and DDL
Data Modification and DDL
Lesson 1 • Inserting and Updating Rows
Teaches INSERT, UPDATE, and bulk insert patterns with safe WHERE usage. Accurate data modification is essential for any application-facing database role.
Lesson 2 • Creating and Altering Tables
Covers CREATE TABLE with data types and constraints, plus ALTER TABLE for schema changes. Schema design decisions made here affect all downstream queries.
Lesson 3 • Deleting Data Safely
Explains DELETE and TRUNCATE with their behavioral differences and risks. Students practice safe deletion patterns before touching production-like data.
Lesson 4 • Transactions and Rollback
Introduces ACID properties and BEGIN, COMMIT, ROLLBACK syntax. Transaction control prevents partial writes and data corruption during multi-step operations.
Chapter 7HideHide detailsSee detailsWindow Functions and Advanced Analytics
Window Functions and Advanced Analytics
Lesson 1 • Aggregate Window Functions
Applies SUM, AVG, COUNT, and similar functions over a window frame. Running totals and moving averages are the most requested analytical outputs.
Lesson 2 • Offset Functions: LAG and LEAD
Uses LAG and LEAD to access prior and next row values within a partition. Period-over-period comparisons are a core analytical requirement in business reporting.
Lesson 3 • FIRST_VALUE, LAST_VALUE, and NTH_VALUE
Retrieves boundary and positional values within a window partition. These functions complete the toolkit for peer-group and benchmark comparisons.
Lesson 4 • Window Function Syntax and Concepts
Explains the OVER clause, PARTITION BY, and ORDER BY within windows. Understanding the window frame is prerequisite to all functions in this chapter.
Lesson 5 • Ranking Functions
Covers ROW_NUMBER, RANK, DENSE_RANK, and NTILE for ordered ranking tasks. Ranking functions solve top-N and percentile problems common in reporting.
Chapter 8HideHide detailsSee detailsQuery Optimization and Performance
Query Optimization and Performance
Lesson 1 • Indexes: Types and Usage
Covers B-tree, composite, and covering indexes and when each applies. Correct indexing is the single highest-impact performance lever available to SQL writers.
Lesson 2 • Query Rewriting Best Practices
Applies sargability rules, join order hints, and CTE materialization awareness. These rewriting habits produce consistently faster SQL across different database engines.
Lesson 3 • Identifying and Fixing Slow Queries
Uses EXPLAIN and EXPLAIN ANALYZE to locate bottlenecks in real queries. Students rewrite inefficient patterns using the techniques introduced in this chapter.
Lesson 4 • How the Query Optimizer Works
Explains query parsing, the execution plan, and cost-based optimization. Understanding optimizer decisions is the foundation for all tuning techniques.
Your valid completion certificate
This course is for you:
Business analyst: needs to pull data independently without relying on engineering teams.
Career changer: moving into data roles and building a credible, demonstrable technical skill.
Marketing professional: wants to measure campaign performance directly from source databases.
Junior developer: looking to add database fluency to an existing programming background.
Product manager: needs to answer user behavior questions without waiting on data requests.
Finance professional: ready to replace manual spreadsheet work with repeatable SQL queries.
What our students say
Your classes are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to switch platforms... I thank you for everything you do, I've already recommended you to other people...

I like how the lessons are straight to the point and how I can switch chapters and skip content I don't need.

I like the content and the presentation style and video transcription, which speeds up the process!

The platform is fast, simple to use. The diversity of content and complementary videos really help with learning.

Top trainings
FAQ
Who is Dedika?
Is the certificate valid in the United States?
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




















