Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The Complete SQL Course - Learn by Doing - SQL Server
Rating: 4.6 out of 5(3,229 ratings)
10,629 students

The Complete SQL Course - Learn by Doing - SQL Server

Master SQL and Database Design in this SQL Bootcamp - Use Advanced Queries for Data Analysis and Analytics - SQL Server
Created byDaniel Tait
Last updated 1/2026
English

What you'll learn

  • How to write accurate SQL queries against a database
  • Use SQL to perform data analysis
  • Learn to perform GROUP BY Statements
  • Learn how to join multiple tables - including complex joins
  • Learn how to use window functions, correlated subqueries, set operators, CTEs and much more
  • Best practices in SQL
  • Replicate real-world situations and query reports
  • How to create tables, views and stored procedures
  • How to make your queries run faster by making them sargable
  • Be comfortable putting SQL and SQL Server on your resume

Course content

7 sections114 lectures13h 23m total length
  • Introduction2:42
  • Understanding the Foundations of SQL7:43
  • SELECT Statement8:55
  • Overview of SQL Server3:05
  • Windows - How to Setup SQL Server and SSMS on a Windows Computer7:06
  • Windows - How to Setup the SAMPLEDB Database on Windows Computer10:20
  • MacOS - How to set up SQL Server Database on a Mac Computer using Docker25:45

    Covers how to download and install SQL Server on a Mac using Docker. Also covers, how to download and install Azure Data Studio and how to create the SAMPLEDB database using Azure Data Studio.

  • Overview of the Course Challenges3:25
  • SELECT Challenges2:21
  • Solutions to the SELECT Challenges4:20
  • SELECT DISTINCT Statement5:16
  • SELECT DISTINCT Challenges1:32
  • Solutions to the SELECT DISTINCT Challenges3:18
  • Row Ordering - ORDER BY8:24
  • Filtering Data with TOP5:34
  • ORDER BY Challenges2:47
  • Solutions to the ORDER BY Challenges5:25
  • WHERE Clause - Three-valued Logic5:09
  • Replacing Nulls in Queries11:00
  • WHERE Clause - Comparison Operators4:14
  • WHERE Clause Challenges2:21
  • Solutions to the WHERE Clause Challenges4:00
  • Introduction to Collations and Pattern Matching8:49
  • Pattern Matching - Part 25:35
  • Introduction to Character Data Types5:54
  • Pattern Matching Challenges1:14
  • Solutions to the Pattern Matching Challenges3:12
  • Introduction to Aggregate Functions6:09
  • GROUP BY and Aggregate Functions6:26
  • HAVING Clause4:56
  • Logical Query Processing Order7:58
  • GROUP BY Challenges2:20
  • Solutions to the GROUP BY Challenges11:58
  • AND operator2:52
  • OR operator2:56
  • Operator Precedence4:23
  • IN Operator3:19
  • Logical Operator Challenges2:14
  • Solutions to the Logical Operator Challenges6:15

Requirements

  • You will need to have a Windows-based computer to download and run Microsoft SQL Server.
  • This course is suitable for everyone who has a desire to learn and advance in their career. No prior SQL knowledge is needed.

Description

Learn how to write effective and accurate SQL with this course!

You will learn how to read and write complex SQL queries in a relational database (SQL Server). The skills you will learn are also largely applicable to any other major database system, such as MySQL, PostgreSQL, Oracle Database, and much more.

Knowing how to write SQL is one of the fastest ways to reach your career goals. This is because SQL is consistently the most in-demand skills in the tech sector. SQL can seem simple at first but it can quickly become complicated. It is common for people to a write SQL query without realizing they are getting an incorrect result returned. This course is designed with a focus on accuracy and understanding. You will learn how to avoid the common mistakes people make when writing SQL. Not only that.. but you will get a visual guide to the SQL language by seeing how queries work step-by-step. This is a complete course which covers all the core skills you need to master the SQL language.

I believe that the best way to learn SQL is by writing lots of SQL. For that reason, this course includes over 80 coding challenges where you get to write SQL queries and create database objects. These challenges are based on real-world scenarios and are designed for optimal understanding.


In this course you will learn everything you need to master SQL! Including:

  • Get started with SQL Server and SSMS, two of the world's most popular SQL tools

  • How to install SQL Server on Windows and Mac-OS computers

    • Note: that Mac users will need to use Azure Data Studio rather than SSMS

  • Learn how to do data analysis and data analytics using SQL. Including advanced query techniques

  • Start by learning the fundamentals of the relational model and SQL language

  • Analyzing data using aggregate functions with the GROUP BY command

  • Writing advanced queries with string and date functions

  • Learn to use logical operators to add logic flow to your SQL queries

  • Learn how to write both self-contained and correlated sub queries

  • Learn how to join data by using the different types of JOIN commands

  • Learn how to do more advanced joins such as joining more than two tables and joining on multiple columns

  • Learn to create tables and integrity constraints

  • How to update, insert and delete data

  • How to create indexes

  • How to make your queries run faster by making them SARGable

  • Learn to write advanced SQL such as stored procedures, window functions, and common table expressions

  • Bonus section on Database Design - includes data normalization up to and including Boyce-Codd Normal Form.

  • and much, much more!

This course is one that puts you in control. Where you get to write SQL throughout the course, instead of watching someone else code. Every section comes with fresh challenges, modeled after real-world tasks and situations.

This comprehensive course allows you to learn at your own pace through an interactive environment.  You will start with the basics and soon find yourself writing advanced SQL queries.

Who this course is for:

  • Anyone interested in learning SQL or data analysis!
  • Those who are interested in working with SQL Server. This course uses Microsoft SQL Server and T-SQL (Microsoft SQL) variant of the SQL language.
  • If you work in: marketing, finance, local government, accounting, operations, sales, manufacturing, healthcare, financial services, or any other industry/function that collects data
  • Someone who wants to learn skills that give them the potential to earn a high salary and have a rewarding career