← All courses

Training

Mastering SQL with Microsoft SQL Server

Mastering SQL with Microsoft SQL Server

From Fundamentals to Advanced Querying for Real-World Data Workflows in 3 days

Structured Query Language (SQL) is the foundation of how data is accessed, managed, and analyzed in almost every business today. Whether you’re building reports, supporting applications, or extracting insights from large datasets, SQL remains the universal language that bridges people and data.

This three-day course focuses on Microsoft SQL Server, one of the most widely used database systems in enterprise environments, and takes you from learning what databases are to writing powerful queries that solve real problems. The curriculum is built around practical scenarios, industry best practices, and performance-oriented techniques, not just syntax.

By the end of the course, you’ll be confidently writing efficient queries, understanding how to structure data, and working with advanced SQL features that modern data professionals rely on every day.

Learning Outcomes

After completing this course, learners will be able to:

  • Understand core database concepts and how relational databases work
  • Write basic to advanced SQL queries in Microsoft SQL Server
  • Join, filter, aggregate, and manipulate data with confidence
  • Use stored procedures, functions, and views
  • Optimize queries for performance
  • Understand indexes and execution plans
  • Apply SQL skills to solve real business data tasks

Prerequisites

  • Basic computer literacy (installing software, navigating menus, file system, data structures, network basics)
  • No prior SQL or database experience required
  • MS SQL Studio or VS Code with MS-SQL Plugin installed
  • Access to open IP and port 1433

Training Outline

  • Foundations of Relational Databases
    • What is a database?
    • Tables, rows, columns
    • Primary keys and relationships
    • Introduction to Microsoft SQL Server
    • SQL Server Management Studio (SSMS) overview
    • Connecting to databases
    • Creating your first database and table
  • Basic Data Retrieval
    • SELECT statement fundamentals
    • Selecting single and multiple columns
    • Using WHERE for filtering
    • Logical operators (AND, OR, NOT)
    • Sorting results with ORDER BY
    • Limiting results (TOP)
  • Working with Data Types and Expressions
    • Understanding SQL data types (int, varchar, datetime, etc.)
    • Implicit vs explicit conversion
    • Using functions for data formatting
    • NULL handling and ISNULL/COALESCE
  • Advanced Filtering and Set Operations
    • BETWEEN, IN, LIKE
    • DISTINCT
    • UNION and UNION ALL
    • INTERSECT, EXCEPT
  • Joins and Relationships
    • INNER JOIN
    • OUTER JOINS (LEFT, RIGHT)
    • FULL OUTER JOIN
    • CROSS JOIN
    • Self-joins
    • Joining multiple tables
  • Aggregates and Grouping
    • COUNT, SUM, AVG, MIN, MAX
    • GROUP BY and HAVING
    • Windowed aggregates (ROW_NUMBER, RANK, PARTITION BY)
  • Modifying Data
    • INSERT statements
    • BULK INSERT options
    • UPDATE statements
    • DELETE statements
    • Transactions (BEGIN, COMMIT, ROLLBACK)
  • Subqueries and Derived Tables
    • Scalar subqueries
    • Subqueries in WHERE and FROM
    • Correlated subqueries
    • Inline Views
  • Views, Indexes, and Schema Objects
    • Creating and using Views
    • Indexed views
    • Creating Indexes
    • Clustered vs non-clustered
    • When to use indexes
  • Stored Procedures and Functions
    • Creating Stored Procedures
    • Input and output parameters
    • Error handling in procedures
    • User-defined functions (scalar and table-valued)
    • Best practices
  • Performance Tuning Basics
    • Reading Execution Plans
    • Identifying slow queries
    • Statistics and optimization
    • Index maintenance basics
  • Advanced Query Techniques
    • CTEs (Common Table Expressions)
    • Recursive queries
    • Pivot and Unpivot
    • Temporary tables vs table variables
  • Security and Permissions
    • User roles and security
    • Granting and revoking access
    • Principles of secure SQL design
  • Practical Scenarios and Projects
    • Real business reporting queries
    • Building reusable query templates
    • Data reconciliation and validation strategies
    • Debugging complex queries

Over three days, you’ll progress from the first SELECT statement to advanced query techniques and performance tuning — all tailored to the demands of real database work in Microsoft SQL Server. This course prepares you not for academic exams but for the challenges you’ll face in data engineering, analytics, application support, and business intelligence roles.

Practical, connected learning

My wider training approach brings hands-on implementation and systems thinking together, connecting technology with real operational needs.