icon icon

PostgreSQL Course - Basic

icon

Training process

Training needs analysis

If you have specific requirements regarding the training programme, we will carry out a training needs analysis for you. This will guide us on which aspects of the programme should receive greater emphasis, so that the training programme meets your specific needs.

What will you gain?

icon

Better data modeling - You will learn how to design tables, 1:1, 1:n and m:n relationships, and choose data types that keep your database consistent, readable, and easier to expand and report on.

icon

Confident SQL querying - You will practice writing SQL queries with filters, logical operators, and conditions, so you can find the right data faster and reduce mistakes in day-to-day analysis work.

icon

Efficient data joins - You will master joins, subqueries, and CTEs, which will help you build more advanced queries without losing clarity. This makes working with many related tables much easier.

icon

Clearer reporting output - You will learn to use aggregate functions, STRING_AGG, RANK, and DENSE_RANK to prepare summaries, rankings, and reports that support practical business and operational tasks.

icon

Smarter data handling - You will understand NULLIF, CASE, date and time functions, plus ROLLUP and CUBE grouping, so you can calculate results correctly and avoid misleading conclusions from your data.

icon

Safe CRUD operations - You will learn how to run INSERT, UPDATE, and DELETE statements in a controlled way, helping you make changes in the database more efficiently and with less risk of accidental damage.

icon

Clean data import/export - You will explore practical ways to import data from flat files and other databases, then export results for further work, including Excel, making data exchange much smoother.

icon

Faster query performance - You will gain a solid introduction to indexes in PostgreSQL, so you can better spot why queries slow down and prepare your database to handle everyday workloads more efficiently.

Training programme

1. Introduction to the PostgreSQL database management system

From a relational perspective, the course establishes how PostgreSQL organizes data through schemas, database objects, and relationship models such as 1:1, 1:n, and m:n. It also addresses data types, logical operators, and the foundations needed to start writing SQL queries correctly.

  • database basics,
  • 1:1, 1:n, m:n models and joins,
  • schemas, database objects,
  • data types and their impact on modeling and query execution,
  • logical operators AND, OR, BETWEEN, EXISTS, IN, LIKE, NOT, SOME, ALL,
  • creating SQL queries.

2. Detailed discussion of creating SQL queries in PostgreSQL

Building SQL queries in PostgreSQL involves combining filtering, joins, subqueries, and CTEs to retrieve and organize data. The material also includes aggregate and ranking functions, date and time handling, multidimensional grouping, and conditional expressions such as CASE and NULLIF.

  • data filtering,
  • basic functions such as Count and Distinct,
  • subqueries,
  • joins,
  • Common Table Expression (CTE), that is the WITH construct,
  • built-in functions and procedures,
  • date and time functions,
  • aggregate functions MAX, MIN, AVG, COUNT, SUM,
  • multidimensional grouping:
    • Rollup,
    • Cube,
  • grouping with the STRING_AGG() function,
  • ranking functions RANK() and DENSE_RANK(),
  • NULLIF  and CASE,
  • IIF, CHOOSE.

3. Discussion of CRUD operations (Create, Read, Update, Delete) in PostgreSQL

At the level of daily database operations, data must be added, changed, and removed safely and predictably. This section focuses on the practical use of INSERT, UPDATE, and DELETE statements, showing how records are maintained in PostgreSQL tables.

  • INSERT, UPDATE, DELETE.

4. Practical approach to data import and export operations in PostgreSQL

Working with data flow between PostgreSQL and external sources requires both structure and tooling. This part covers data modeling basics, importing from flat files and existing relational databases, exporting with built-in tools, and using Excel to analyze data extracted from Postgres.

  • data structure and modeling,
  • analysis of data from Postgres in Excel,
  • import of data from flat files or existing relational databases,
  • built-in data import and export tools.

5. Detailed discussion of indexes in PostgreSQL

Indexes in PostgreSQL are discussed from the perspective of how they support data access and query execution. The section explains the role of indexes in database structures, when they are useful, and how they relate to everyday work with tables and SQL statements.

  • overview of indexes.

What are the prerequisites for participating in the training?

icon

Basic computer skills - You should be comfortable using a computer, working with the keyboard, saving files, and launching applications, because the course involves independent work in an SQL environment.

icon

Basic data concepts - You should understand what rows, columns, and tables are, and be able to read simple data sets, because this will make PostgreSQL relational structures much easier to follow.

icon

Logical thinking - You should be able to analyze conditions and relationships, because the course covers filtering, logical operators, table relationships, and different grouping techniques.

icon

Readiness to practice - You should be ready to complete hands-on exercises and test queries on your own, because the training focuses on practical work with creating, changing, and analyzing data.