Choose your language
MS SQL Course
Over 400,000 professionals on the platform
Exclusive for companies

MS SQL Course

Master Microsoft SQL Server from the ground up — from writing your first query to tuning production databases. This course covers T-SQL, database design, stored procedures, performance optimization, and automation in one comprehensive program. Whether you're breaking into data or leveling up your backend skills, you'll finish with the hands-on SQL expertise employers actually need.

Dedika for students

What your team will master:

You'll start by installing SQL Server and learning relational database fundamentals, then move into writing T-SQL queries, joining multiple tables, and aggregating data for reporting. From there, you'll design normalized schemas, enforce data integrity with constraints, and execute INSERT, UPDATE, DELETE, and MERGE operations safely using transactions. Advanced topics include window functions, CTEs, dynamic SQL, stored procedures, and triggers. You'll also cover performance tuning with execution plans and indexes, plus security, backup and recovery, SSIS-based ETL, and SSRS reporting.

How your team learns in practice MS SQL Course

How your team practices MS SQL Course

Professionals from these companies study at Dedika

ActemiumFR
Nunner LogisticsNL
GT Constructora GeotécnicaCR
Sydel StarBR
Metrô de São PauloBR
Aguas AndinasCL
DSMIN
MeridianbetRS
CDHCN

Course Content

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

Chapter 1See details

Introduction to SQL Server and Databases

  • Lesson 1 • SQL Server Architecture Overview

    Explains SQL Server components: engine, services, and storage. Prepares students to understand how queries are processed and data is persisted.

  • Lesson 2 • Relational Database Fundamentals

    Covers tables, rows, columns, keys, and relationships as the basis of relational design. Establishes vocabulary used throughout the entire course.

  • Lesson 3 • Installing and Configuring SQL Server

    Guides students through installation, instance configuration, and initial security setup. Ensures a working local environment for all subsequent labs.

  • Lesson 4 • Navigating SQL Server Management Studio

    Introduces SSMS interface, Object Explorer, and query editor. Students gain confidence executing basic commands and managing connections.

  • Lesson 5 • Creating Your First Database

    Demonstrates creating a database via GUI and T-SQL, setting file paths and growth options. Ties architecture knowledge to hands-on practice.

Chapter 2See details

T-SQL Querying Essentials

  • Lesson 1 • Aggregating Data with GROUP BY

    Teaches COUNT, SUM, AVG, MIN, MAX, and HAVING to summarize data by category. Bridges row-level querying to analytical reporting covered in later chapters.

  • Lesson 2 • Writing Basic SELECT Statements

    Teaches SELECT, FROM, and column aliasing to retrieve and label data. Forms the syntactic foundation for every query written in later chapters.

  • Lesson 3 • Filtering Data with WHERE

    Covers comparison operators, logical operators, and NULL handling to filter rows precisely. Directly enables targeted data retrieval in real-world scenarios.

  • Lesson 4 • Built-in Scalar Functions

    Introduces string, numeric, date, and conversion functions for transforming column values. Expands query expressiveness needed in aggregation and reporting chapters.

  • Lesson 5 • Sorting and Limiting Results

    Explains ORDER BY, TOP, and OFFSET-FETCH for controlling result order and size. Prepares students for pagination and ranked reporting tasks.

Chapter 3See details

Joining and Combining Data Sets

  • Lesson 1 • INNER and OUTER Joins

    Covers INNER JOIN, LEFT, RIGHT, and FULL OUTER JOIN with practical examples. Students choose the correct join type based on data inclusion requirements.

  • Lesson 2 • Set Operators: UNION, INTERSECT, EXCEPT

    Explains combining result sets vertically using set operators with matching column rules. Completes the toolkit for assembling complex multi-source reports.

  • Lesson 3 • Self Joins and Cross Joins

    Demonstrates joining a table to itself and generating Cartesian products. Addresses hierarchical data and combinatorial reporting scenarios.

  • Lesson 4 • Understanding Table Relationships

    Reviews one-to-one, one-to-many, and many-to-many relationships as the basis for join logic. Ensures students understand why joins work before writing them.

  • Lesson 5 • Subqueries and Derived Tables

    Introduces correlated and non-correlated subqueries and inline derived tables. Enables complex filtering and intermediate result reuse within a single query.

Chapter 4See details

Data Definition and Table Design

  • Lesson 1 • Constraints and Data Integrity

    Defines PRIMARY KEY, FOREIGN KEY, UNIQUE, CHECK, and DEFAULT constraints. Enforces business rules at the database level, reducing application-layer errors.

  • Lesson 2 • Normalization Principles

    Explains 1NF through 3NF with practical before-and-after schema examples. Guides students to eliminate redundancy and anomalies in table design.

  • Lesson 3 • Indexes: Clustered and Non-Clustered

    Introduces index types, creation syntax, and their effect on read and write performance. Lays groundwork for the advanced indexing strategies covered later.

  • Lesson 4 • Data Types in SQL Server

    Covers numeric, character, date, binary, and special data types with storage implications. Correct type selection directly affects performance and data accuracy.

  • Lesson 5 • Creating and Altering Tables

    Teaches CREATE TABLE, ALTER TABLE, and DROP TABLE with column and constraint syntax. Provides the DDL skills needed to build and evolve any schema.

Chapter 5See details

Data Manipulation: DML Operations

  • Lesson 1 • Inserting Data into Tables

    Covers single-row, multi-row, and INSERT...SELECT patterns for loading data. Establishes safe insertion habits used in ETL and application development.

  • Lesson 2 • Deleting and Truncating Data

    Compares DELETE, TRUNCATE, and DROP for removing data at different scopes. Students apply the correct removal method based on recoverability needs.

  • Lesson 3 • MERGE Statement for Upsert Logic

    Demonstrates MERGE for synchronizing source and target tables in a single statement. Addresses common ETL upsert patterns efficiently.

  • Lesson 4 • Transactions and Error Handling

    Introduces BEGIN TRANSACTION, COMMIT, ROLLBACK, and TRY...CATCH for safe DML. Ensures data consistency when multiple statements must succeed or fail together.

  • Lesson 5 • Updating Existing Records

    Teaches UPDATE with WHERE clauses, joins, and subqueries to modify targeted rows. Prevents accidental mass updates through safe update patterns.

Chapter 6See details

Advanced T-SQL Techniques

  • Lesson 1 • Advanced Filtering and Expressions

    Covers CASE expressions, IIF, CHOOSE, and complex predicate logic for conditional output. Extends query expressiveness for business rule implementation inside T-SQL.

  • Lesson 2 • Dynamic SQL with EXEC and sp_executesql

    Explains building and executing SQL strings at runtime for flexible, parameterized queries. Teaches injection prevention techniques essential for secure dynamic code.

  • Lesson 3 • PIVOT and UNPIVOT Operations

    Demonstrates rotating rows to columns and columns to rows for cross-tab reporting. Addresses common business reporting formats not achievable with standard GROUP BY.

  • Lesson 4 • Common Table Expressions

    Teaches WITH clause CTEs for readable query decomposition and recursive data traversal. Replaces nested subqueries with maintainable, named result sets.

  • Lesson 5 • Window Functions and Analytics

    Covers OVER, PARTITION BY, ORDER BY, and ranking functions for row-level analytics. Enables running totals, rankings, and moving averages without self-joins.

Chapter 7See details

Stored Procedures, Functions, and Triggers

  • Lesson 1 • Creating and Managing Stored Procedures

    Teaches CREATE PROCEDURE, parameters, output parameters, and return values. Enables encapsulation of business logic callable from applications and jobs.

  • Lesson 2 • DDL Triggers and Event Notifications

    Covers server- and database-scoped DDL triggers for auditing schema changes. Complements DML triggers to provide full change-tracking coverage.

  • Lesson 3 • User-Defined Functions

    Covers scalar, inline table-valued, and multi-statement table-valued functions. Students choose the right function type based on performance and reuse requirements.

  • Lesson 4 • DML Triggers: AFTER and INSTEAD OF

    Explains trigger creation, the inserted and deleted virtual tables, and firing order. Students automate auditing and enforce complex constraints beyond CHECK.

  • Lesson 5 • Error Handling in Programmable Objects

    Extends TRY...CATCH to stored procedures with RAISERROR and THROW for custom errors. Ensures robust error propagation across nested procedure calls.

Chapter 8See details

Performance Tuning and Query Optimization

  • Lesson 1 • Query Rewriting for Performance

    Demonstrates rewriting anti-patterns: implicit conversions, functions on indexed columns, and OR predicates. Translates plan analysis into actionable query changes.

  • Lesson 2 • Monitoring with DMVs and Extended Events

    Introduces dynamic management views and Extended Events for ongoing performance monitoring. Equips students to proactively identify regressions in live systems.

  • Lesson 3 • Reading Execution Plans

    Teaches estimated vs. actual execution plans, operators, and cost percentages in SSMS. Provides the diagnostic foundation for every optimization technique that follows.

  • Lesson 4 • Statistics and the Query Optimizer

    Explains how statistics guide cardinality estimation and plan selection. Students update and create statistics to correct bad plan choices.

  • Lesson 5 • Index Optimization Strategies

    Covers covering indexes, included columns, filtered indexes, and index maintenance. Directly reduces scan operations identified in execution plan analysis.

Certification

Your valid completion certificate

This course is for you:

  • Aspiring data analysts: ready to move beyond spreadsheets into real databases.

  • Junior developers: wanting to add solid database skills to their backend toolkit.

  • Business intelligence beginners: eager to query and report on company data independently.

  • Career changers: transitioning into tech roles that require database knowledge and fluency.

  • IT support professionals: looking to expand into database administration and management.

  • Excel power users: ready to handle larger datasets that spreadsheets simply cannot manage.

Related courses

FAQ

Who is Dedika?

Is the certificate valid in 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