Introduction to SQL Using PostgreSQL

Introduction to SQL Using PostgreSQL

Course Length: 2 days
Delivery Methods: Multiple delivery options
Course Benefits
  • 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.
Available Delivery Methods
Public Class
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private Class
Private classes are delivered for groups at your offices or a location of your choice.
Learn at your own pace with 24/7 access to an On-Demand course.
Course Overview

This PostgreSQL training course is designed for students new to writing SQL queries with PostgreSQL. Most of the SQL learned in this course is standard to all modern databases, but PostgreSQL will be used in class and syntax and functionality specific to PostgreSQL will be pointed out.

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
    5. Exercise: Using CASCADE
Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Register for a Live Class
Please select a class.
Request a Private Class
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors
Request Pricing
Self-Paced Course
$149.85 or 3 coupons
  • On Demand 24/7
  • Readings
  • Presentations
  • Exercises
  • Quizzes
  • Full Year of Access
  • Learn more
Register Now