Introduction to SQL Using PostgreSQL

Introduction to SQL Using PostgreSQL

Course Length:
Delivery Methods:
Course Topics
  • History of SQL and relational databases.
  • Structure of relational databases.
  • PostgreSQL.
  • Our database.
  • SQL comments.
  • SQL syntax.
  • Selecting all rows from a table.
  • Sorting record sets.
  • Filtering record sets.
  • Retrieving a portion of the rows generated by a query.
  • Retrieving calculated values.
  • Aggregate functions and grouping.
  • SQL's data manipulation functions.
  • Subqueries.
  • Joins.
  • Unions.
  • The CASE statement.
  • Inserting new records.
  • Updating records.
  • Deleting records.
  • Creating a database with pgAdmin.
  • Creating tables.
Course Overview
Course Outline
  1. Relational Database Basics
    1. Brief History of SQL
    2. Relational Databases
    3. PostgreSQL
  2. Simple SELECTs
    1. Introduction to the Jokes Database
    2. Some Basics
    3. SELECTing All Columns in All Rows
    4. Running Queries in pgAdmin
    5. Exercise: Exploring the Tables
    6. SELECTing Specific Columns
    7. Exercise: SELECTing Specific Columns
    8. Sorting Records
    9. Exercise: Sorting Results
    10. The WHERE Clause and Logical Operator Symbols
    11. Exercise: Using the WHERE Clause to Check for Equality or Inequality
    12. Checking for Greater or Less Than
    13. Exercise: Using WHERE 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
    19. Exercise: Writing SELECTs with Multiple Conditions
    20. The WHERE Clause and Logical Operator Keywords
    21. Exercise: More SELECTs with WHERE
  3. Advanced SELECTs
    1. LIMIT and OFFSET
    2. Calculated Fields
    3. Exercise: Calculating Fields
    4. Aggregate Functions and Grouping
    5. Exercise: Working with Aggregate Functions
    6. Selecting Distinct Records
    7. Built-in Data Manipulation Functions for Math and Strings
    8. Exercise: Data Manipulation Functions for Math and Strings
    9. Date/Time Types, Operators, and Functions
    10. Exercise: Date/Time Manipulation
  4. Subqueries, Joins and Unions
    1. Subqueries
    2. Exercise: Subqueries
    3. Joins
    4. Exercise: Using Joins
    5. Outer Joins
    6. Exercise: Using Outer Joins
    7. Unions
    8. Exercise: Working with Unions
  5. Conditional Processing with CASE
    1. Using CASE
    2. Exercise: Working with CASE
  6. Inserting, Updating and Deleting Records
    1. INSERT
    2. Exercise: Inserting Records
    3. UPDATE
    4. DELETE
    5. Exercise: Updating and Deleting Records
  7. Creating Tables
    1. Creating a Database with pgAdmin
    2. How to Create Tables
    3. Exercise: Creating Tables
    4. CASCADE and RESTRICT
    5. Exercise: Using CASCADE
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.

Request a Private Class
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors
Request Pricing