Coding

Advanced SQL with Postgres

This hands-on course teaches advanced SQL and relational database capabilities using Postgres, the most popular and most admired open-source database in the world. We will cover basic concepts, such as tables, queries, primary keys, foreign keys and normal forms, before diving into more advanced topics such as stored procedures, common table expressions and window functions. The course aims for a balance of theory and practice. All code and data samples will be provided to the participants.

We will use the most recent version of PostgreSQL, one of the most popular open-source databases, to illustrate and exercise the concepts. The exercises will leverage pgAdmin, the leading open-source GUI tool for data analysts, DBAs and developers working with Postgres. Significant parts of the course will use psql, Postgres’ native command line tool.

While this course primarily uses Postgres to illustrate concepts, some features and examples may be specific to Postgres. Participants working with other relational database systems (e.g., MySQL, Oracle, or SQL Server) should be aware that certain functionalities may vary depending on the database system used.

The course is focused on data analysts and developers who have a basic understanding of SQL or other databases.

Content
  • Quick intro to key concepts of relational databases
  • Connecting to the Postgres database w. pgAdmin and psql
  • Tables and query basics: Insert, update, delete, select
  • Operators in the WHERE clause
  • Primary Keys, constraints and relationships
  • Organizing data with schemas and entity-relationship diagrams
  • Data Normalization
  • Queries revisited (joins, views, and aggregates)
  • Stored procedures and functions
  • Indexes and the Explain Tool
  • Transactions and ACID compliance
  • Common Table Expressions (CTE)
  • Window Functions
  • Using JSON to represent documents
Learning Outcomes

Participants will learn how to use advanced concepts of SQL for transactional and analytical purposes.

Training Method

Mix of presentation and hands-on-keyboard exercises.

Certification
Participation Only
Prerequisites
  • Prior experience working with databases or prior programming experience with basic knowledge of relational databases is required.
  • Having completed the course "Practical Introduction to SQL with Postgres".


Planning and location
Session 1
06/10/2025 - Monday
14:00 - 17:00
Session 2
07/10/2025 - Tuesday
14:00 - 17:00
Session 3
08/10/2025 - Wednesday
14:00 - 17:00
Session 4
09/10/2025 - Thursday
14:00 - 17:00
Session 5
10/10/2025 - Friday
14:00 - 17:00
Available Edition(s):

https://www.dlh.lu/web/image/product.template/1984/image_1920?unique=b6047ca

This combination does not exist.

60.00 € 60.0 EUR 60.00 €

60.00 €

Not Available For Sale

Your trainer(s) for this course
Marc Linster
Marc Linster

Marc was the CTO of EnterpriseDB, a leading contributor to the open source database Postgres. Marc holds a Ph.D. (Dr. rer. nat.) in Computer Science from the University of Kaiserslautern. Marc loves data and databases and had the opportunity to work with leading companies in the US, Canada, Germany.
https://www.linkedin.com/in/marclinster/