Introduction to SQL Training Using SQL Server

This SQL class is designed for students new to writing SQL queries using SQL Server. The SQL learned in this course is standard to all modern databases, but SQL Server will be used in class and syntax and functionality specific to SQL Server will be pointed out.

Goals
  1. Understand how SQL Server works.
  2. Learn to use SQL to output reports with SQL Server.
  3. Learn to write queries getting data from multiple tables.
Outline
  1. Relational Database Basics
    1. Brief History of SQL
    2. Relational Databases
    3. Tables
      1. Rows
      2. Columns
      3. Relationships
      4. Datatypes
      5. Primary Keys
      6. Foreign Keys
      7. Relational Database Management System
    4. Popular Databases
      1. Commercial Databases
      2. Popular Open Source Databases
    5. SQL Statements
      1. Database Manipulation Language (DML)
      2. Database Definition Language (DDL)
      3. Database Control Language (DCL)
  2. Simple SELECTs
    1. Introduction to the Northwind Database
    2. Some Basics
      1. Comments
      2. Whitespace and Semi-colons
      3. Case Sensitivity
    3. SELECTing All Columns in All Rows
    4. Exercise: Exploring the Tables
    5. SELECTing Specific Columns
    6. Exercise: SELECTing Specific Columns
    7. Sorting Records
      1. Sorting by a Single Column
      2. Sorting By Multiple Columns
    8. Ascending and Descending Sorts
    9. Exercise: Sorting Results
    10. The WHERE Clause and Logical Operator Symbols
      1. Checking for Equality
      2. Checking for Inequality
    11. Exercise: Using the WHERE Clause to Check for Equality or Inequality
    12. Checking for Greater or Less Than
    13. Exercise: Using the WHERE Clause to Check for Greater or Less Than
    14. Checking for NULL
    15. Exercise: Checking for NULL
    16. WHERE and ORDER BY
    17. Exercise: Using WHERE and ORDER BY Together
    18. Checking Multiple Conditions with Boolean Operators
      1. AND
      2. OR
      3. Order of Evaluation
    19. Exercise: Writing SELECTs with Multiple Conditions
    20. The WHERE Clause and Logical Operator Keywords
      1. The BETWEEN Operator
      2. The IN Operator
      3. The LIKE Operator
      4. The NOT Operator
    21. Exercise: More SELECTs with WHERE
  3. Advanced SELECTs
    1. Calculated Fields
      1. Concatenation
      2. Mathematical Calculations
      3. Aliases
    2. Exercise: Calculating Fields
    3. Aggregate Functions and Grouping
      1. Aggregate Functions
      2. Grouping Data
    4. Exercise: Working with Aggregate Functions
    5. Selecting Distinct Records
    6. Built-in Data Manipulation Functions
      1. Common Math Functions
      2. Common String Functions
      3. Common Date Functions
    7. Exercise: Data Manipulation Functions
  4. Subqueries, Joins and Unions
    1. Subqueries
    2. Exercise: Subqueries
    3. Joins
      1. Table Aliases
      2. Multi-table Joins
    4. Exercise: Using Joins
    5. Outer Joins
    6. Unions
      1. UNION ALL
      2. UNION Rules
    7. Exercise: Working with Unions
  5. Conditional Processing with CASE
    1. Using CASE
    2. Exercise: Working with CASE
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.