Introduction to SQL Training Using SQL Server (SQL103)
Course Length: 2 days
Delivery Methods:
Available as private class only
Course Overview
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.
Course Benefits
- Understand how SQL Server works.
- Learn to use SQL to output reports with SQL Server.
- Learn to write queries getting data from multiple tables.
Course Outline
- Relational Database Basics
- Brief History of SQL
- Relational Databases
- Tables
- Rows
- Columns
- Relationships
- Datatypes
- Primary Keys
- Foreign Keys
- Relational Database Management System
- Popular Databases
- Commercial Databases
- Popular Open Source Databases
- SQL Statements
- Database Manipulation Language (DML)
- Database Definition Language (DDL)
- Database Control Language (DCL)
- Simple SELECTs
- Introduction to the Northwind Database
- Some Basics
- Comments
- Whitespace and Semi-colons
- Case Sensitivity
- SELECTing All Columns in All Rows
- Exercise: Exploring the Tables
- SELECTing Specific Columns
- Exercise: SELECTing Specific Columns
- Sorting Records
- Sorting by a Single Column
- Sorting By Multiple Columns
- Ascending and Descending Sorts
- Exercise: Sorting Results
- The WHERE Clause and Logical Operator Symbols
- Checking for Equality
- Checking for Inequality
- Exercise: Using the WHERE Clause to Check for Equality or Inequality
- Checking for Greater or Less Than
- Exercise: Using the WHERE Clause to Check for Greater or Less Than
- Checking for NULL
- Exercise: Checking for NULL
- WHERE and ORDER BY
- Exercise: Using WHERE and ORDER BY Together
- Checking Multiple Conditions with Boolean Operators
- AND
- OR
- Order of Evaluation
- Exercise: Writing SELECTs with Multiple Conditions
- The WHERE Clause and Logical Operator Keywords
- The BETWEEN Operator
- The IN Operator
- The LIKE Operator
- The NOT Operator
- Exercise: More SELECTs with WHERE
- Advanced SELECTs
- Calculated Fields
- Concatenation
- Mathematical Calculations
- Aliases
- Exercise: Calculating Fields
- Aggregate Functions and Grouping
- Aggregate Functions
- Grouping Data
- Exercise: Working with Aggregate Functions
- Selecting Distinct Records
- Built-in Data Manipulation Functions
- Common Math Functions
- Common String Functions
- Common Date Functions
- Exercise: Data Manipulation Functions
- Calculated Fields
- Subqueries, Joins and Unions
- Subqueries
- Exercise: Subqueries
- Joins
- Table Aliases
- Multi-table Joins
- Exercise: Using Joins
- Outer Joins
- Unions
- UNION ALL
- UNION Rules
- Exercise: Working with Unions
- Conditional Processing with CASE
- Using CASE
- Exercise: Working with CASE
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors