fbpx

Course Queries with PostgreSQL

In the course Queries with PostgreSQL, participants learn the syntax and use of the query language SQL in the context of a PostgreSQL database. SQL is an ANSI and ISO standard Query language that is applicable in all relational database management systems (DBMS). With SQL you can both retrieve and modify data in PostgreSQL.

Region:
  • Content
  • Training
  • Modules
  • General
    General
  • Reviews
  • Certificate
  • Course Queries with PostgreSQL : Content

    SQL Intro

    After an introduction to relational databases, the SQL standard and PostgreSQL, the installation of PostgreSQL, the PostgreSQL environment and tooling are discussed. PostgreSQL, like other DBMS systems, has added extra features of its own to standard SQL and these are also covered in the course.

    SQL Data Definition

    In the first place it is covered how SQL statements can be created and executed in PostgreSQL. Subsequently, the various components of SQL are discussed step-by-step, such as Data Definition Language with CREATE TABLE and Data Manipulation Language with INSERT and UPDATE.

    SQL Select Queries

    Next attention is paid to writing SELECT queries. This includes clauses such as WHERE, ORDER BY, LIKE and BETWEEN .. AND. The grouping of data by means of GROUP and HAVING clauses is also on the course schedule.

    SQL Functions

    The various standard SQL functions are also discussed. Among other things, the mathematical, conversion and aggregation functions for calculating sum and average are treated. Attention is also paid to PostgreSQL specific functions for pattern matching and the processing of geometric and XML data.

    Transactions

    PostgreSQL is known for its robust referential and transactional integrity. In that respect the relationship between primary and foreign keys and restrictive and cascading foreign keys is treated. Also covered is how PostgreSQL handles transactions, the commit and rollback statements and how to prevent data corruption in PostgreSQL.

    Join

    Next it is discussed how to combine data from different tables by means of joins. The various types of joins such as inner joins, left outer joins, right joins, right outer joins and full outer joins are discussed. Finally attention is paid to the application of SET operators such as UNION and INTERSECT and the command line interface of PostgreSQL is also treated.

  • Course Queries with PostgreSQL : Training

    Audience Course Queries with PostgreSQL

    The course Queries with PostgreSQL is designed for developers, database administrators and other interested parties who wish to learn and use PostgreSQL SQL.

    Prerequisites Course Queries with PostgreSQL

    This course has no specific requirements. General knowledge of system development and databases is beneficial to a good understanding.

    Realization Training Queries with PostgreSQL

    The theory is treated on the basis of presentation slides. Demos are used to explain the theory. There is ample opportunity to practice. The course times are from 9.30 to 16.30.

    Certification Queries with PostgreSQL

    Participants receive an official certificate Queries with PostgreSQL after successful completion of the course.

    Course Queries with PostgreSQL
  • Course Queries with PostgreSQL : Modules

    Module 1 : PostgreSQL Introduction

    Module 2 : SQL Introduction

    Module 3 : Data Definition

    Databases
    DBMS Systems
    Types of Database Models
    Entities and relationships
    Relational databases
    PostgreSQL tools
    Installing PostgreSQL
    PostgreSQL versions
    SQL Foundations
    PostgreSQL GUI Client
    Connection Navigator
    Creating and Using Connections
    SQL Worksheet
    Statements and execution
    SQL History
    Storing statements
    CREATE TABLE
    Specifying Columns
    ALTER TABLE
    NULL and Default Values
    DROP COLUMN
    DROP TABLE
    PURGE
    Virtual columns

    Module 4 : Data Manipulatie

    Module 5 : SQL Queries

    Module 6 : Grouping

    Data Manipulation Language
    Transaction control
    Inserting rows
    INSERT statement
    Updating rows
    UPDATE statement
    DELETE statement
    TRUNCATE TABLE
    DML on virtual columns
    Selecting rows
    SELECT statement
    FROM clause
    Specifying conditions
    WHERE clause
    Sorting with ORDER BY
    NULLs, FIRST, LAST
    Removing Doubles
    BETWEEN, IN, ANY, ALL
    GROUP BY clause
    Filtering groups
    HAVING clause
    Operators
    String and Date Operators
    Concatenate operator
    PostgreSQL Encode
    Operators for patterns
    Operators for intervals

    Module 7 : Functions

    Module 8 : Joins

    Module 9 : SET Operators

    Function of column values
    Using functions
    SELECT clause functions
    WHERE clause functions
    GROUP BY clause functions
    HAVING clause functions
    ORDER BY clause functions
    String and Arithmetic functions
    Date and Conversion functions
    National Language Support
    NLS parameters
    Cast
    Joining Multiple Tables
    Normal Joins
    Outer Join
    Inner joins
    Left Outer Joins
    Right Joins,
    Right Outer Joins
    Full Outer Joins
    Multiple Join Vonditions
    Subselections
    Sub Queries
    EXISTS
    SET Operatoren
    UNION
    UNION ALL
    INTERSECT
    MINUS
    Nesting of SET operators
    Working with Command Line
    Connect statement and /nolog
    SQL buffer
    Storing statements
    Spool files
    Transaction control
  • Course Queries with PostgreSQL : General

    Read general course information
  • Course Queries with PostgreSQL : Reviews

  • Course Queries with PostgreSQL : Certificate