SQL for PostgreSQL

3 Day Course
Hands On
Code PSQL

Book Now - 2 Delivery Methods Available:

Scheduled Online Onsite

Overview

The SQL for PostgreSQL course is designed to give delegates practical experience in writing SQL statements and scripts using PostgreSQL. The basic SELECT statement, the use of SQL functions, and the basic table and view handling statements are introduced.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Objectives

The delegate will learn and acquire skills as follows:

  • Creating SQL statements to query database tables
  • Using standard aggregate functions and related SELECT statement clauses
  • Joining Tables
  • Using basic subqueries and the set operators
  • Using numeric, character and date functions
  • Using conversion and other miscellaneous functions
  • Using SQL parameters
  • Using complex subqueries
  • Creating and altering tables and views
  • Inserting, updating and deleting rows in database tables
  • Creating and listing indexes
  • Managing sequences
  •  

Target Audience

This is an ideal course for anyone who needs to use and understand the Structured Query Language (SQL) to query, report and update data in a PostgreSQL database.

Additional Information

  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.

Modules

Hide all

Relational Database Concepts (6 topics)

  • What is an PostgreSQL Database
  • Relational Database Structures
  • Tables, Rows and Columns
  • Indexes, Primary Keys and Foreign Keys
  • Supported Datatypes
  • The Data Dictionary

Using PSQL (5 topics)

  • What is psql
  • Getting Started
  • Entering and Executing SQL Statements
  • Editing SQL Statements
  • Creating, Editing and Executing SQL Files

Using pgAdmin 4 (5 topics)

  • What is pgAdmin 4
  • Starting pgAdmin 4
  • Configure a Connection
  • Navigation Tabs
  • Use the query tool

Retrieving Data with the Select Statement (9 topics)

  • The SELECT Statement
  • The SELECT and FROM Clauses
  • Conditions and the WHERE Clause
  • Other Conditional Operators
  • Logical Operators
  • The ORDER BY Clause
  • Column Aliases
  • Arithmetic Expressions
  • Precedence of Operators

Aggregate Functions (3 topics)

  • Overview of Built In Aggregate Functions
  • The GROUP BY Clause
  • The HAVING Clause

Joining Tables (6 topics)

  • Overview of Table Joins
  • Inner Joins
  • Table Aliases
  • Outer Joins
  • Self Joins
  • ANSI Standard Joins

Basic Subqueries and Set Operators (4 topics)

  • Overview of Subqueries
  • Basic Subqueries
  • Set Operators
  • The Union, Intersect and Except Operators

Numeric, Character and Date Functions (5 topics)

  • Function Types
  • Numeric Functions
  • Character Functions
  • String Concatenation
  • Date Arithmetic and Date Functions

Conversion and Miscellaneous Functions (3 topics)

  • Conversion Functions
  • CASE Expressions
  • The COALESCE and NULLIF Functions

Complex Subqueries (6 topics)

  • Subqueries Usage
  • In-Line Views
  • Subqueries with Joins
  • Multi Column Subqueries
  • Correlated Subqueries
  • Subquery Rules

Managing Data (11 topics)

  • Inserting Rows
  • Updating Rows
  • Updating Join and Upsert Rows
  • Deleting Rows
  • Transaction Control
  • Commit and Rollback
  • Savepoints
  • Commits and Constraints
  • Amending Data in pgAdmin 4
  • Insert data to Table from csv file
  • Export data from Table to csv file

Managing Tables (6 topics)

  • Creating Tables
  • Specifying Constraints
  • Altering Tables, Columns and Constraints
  • Dropping Tables, Columns and Constraints
  • Recovering Dropped Tables
  • Copying Tables

Managing Indexes and Views (6 topics)

  • Creating Indexes
  • Dropping Indexes
  • Listing Indexes
  • Creating and Using Views
  • Dropping Views
  • Listing Views

Managing Sequences (3 topics)

  • Session 15: MANAGING SEQUENCES
  • Create a Sequence
  • View Sequence Details

Prerequisites

There are no formal pre-requisites for this SQL for PostgreSQL course, although an understanding of relational databases and exposure to information technology in general would be useful.

Additional Learning

The courses below may help you meet the knowledge level required to take this course. If you are unsure please ask a training advisor .

Scheduled Dates

Please select from the dates below to make an enquiry or booking.

Pricing

Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Nov Dec Jan Feb Mar Apr
PSQL 3 Days $1,150
05-07
PSQL 3 Days $1,150

or call:408-759-5074

Course PDF

Print

Share this Course

+1
Share

Recommend this Course

Sections