Publication date : 02/28/2024

Course : SQL for PostgreSQL

Practical course - 3d - 21h00 - Ref. SGS
Price : 2040 CHF E.T.

SQL for PostgreSQL




This course introduces you to the SQL language in a PostgreSQL environment. You'll learn how to create tables or views, perform simple queries, joins, data groupings and nested queries. All these skills will remain valid with other relational databases.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. SGS
  3d - 21h00
2040 CHF E.T.




This course introduces you to the SQL language in a PostgreSQL environment. You'll learn how to create tables or views, perform simple queries, joins, data groupings and nested queries. All these skills will remain valid with other relational databases.


Teaching objectives
At the end of the training, the participant will be able to:
Get an overview of DBMSs
Understanding the PostgreSQL database
Create simple and complex queries
Handling internal and external joins
Using regular expressions
Window functions

Intended audience
Anyone wishing to use SQL in PostgreSQL.

Prerequisites
Basic computer skills.

Course schedule

1
General introduction to DBMS

  • Notion of DBMS.
  • Database Management System (DBMS) and work environment.
  • The relational model.
  • Defining a relationship.
  • Primary and foreign keys.
  • Integrity constraints.
  • The diagram of a relationship and a comic strip.

2
Tools and types in PostgreSQL

  • Launching the psql tool.
  • Internal psql commands.
  • Script execution.
  • Types used in PostgreSQL.
  • Character strings, constants, numeric constants, DATE / TIMESTAMP / INTERVAL constants.
Hands-on work
Internal commands and script execution with psql.

3
Introduction to SQL

  • Different categories of statements in SQL.
  • Introduction to SELECT.
  • Create tables and views.
  • Introduction to update instructions: INSERT, UPDATE, DELETE.
  • Using sequences.
  • Introduction to transactions.
Hands-on work
SELECT instructions, table creation, update instructions.

4
Single table consultation

  • Prefixes, aliases and operators.
  • Sorting and deleting duplicates.
  • FETCH / LIMIT / OFFSET.
  • Using functions.
  • NULL value.
  • Aggregates.
  • Grouping: GROUP BY, HAVING.
Hands-on work
Set up comprehensive queries, covering all the points discussed.

5
Multi-table queries

  • Join and Cartesian product, different syntaxes.
  • External joints.
  • Nested queries, IN / EXISTS operators.
  • Multicolumn and multiline comparisons: nested comparisons and queries, ANY, ALL and SOME operators.
  • Set operators: union, difference, intersection.
  • Nested FROM queries.
  • Use of CTE (WITH clause).
  • The division.
Hands-on work
Create nested joins and queries.

6
Advanced features

  • Special types: ENUM, TABLES, RANGES.
  • Use regular expressions and the SIMILAR operator.
  • Introduction to Window functions, OVER() clause.
Hands-on work
Execute queries with special types.


Customer reviews
4,5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
ESTELLE C.
19/11/25
5 / 5

The content and format of the course were very good in my opinion. A little more practical exercises would be welcome, but the trainer's explanations and demonstrations were very clear.
CORALIE L.
19/11/25
4 / 5

a little more time to do the exercises
EMIRA F.
19/11/25
4 / 5

Satisfactory (perhaps I would have liked a bit more practice).



Dates and locations

Dernières places
Date garantie en présentiel ou à distance
Session garantie
From 23 to 25 March 2026
FR
Remote class
Registration
From 1 to 3 June 2026
FR
Remote class
Registration
From 14 to 16 September 2026
FR
Remote class
Registration
From 16 to 18 December 2026
FR
Remote class
Registration

REMOTE CLASS
2026 : 23 Mar., 1 June, 14 Sep., 16 Dec.