Learning by doing
Trainers with practical experience
Detailed course material
Clear content description
Tailormade content possible
Training that proceeds
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.
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.
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.
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.
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.
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.
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.
The course Queries with PostgreSQL is designed for developers, database administrators and other interested parties who wish to learn and use PostgreSQL SQL.
This course has no specific requirements. General knowledge of system development and databases is beneficial to a good understanding.
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.
Participants receive an official certificate Queries with PostgreSQL after successful completion of the course.
Module 1 : PostgreSQL Introduction
Module 2 : SQL Introduction
Module 3 : Data Definition
Types of Database Models
Entities and relationships
PostgreSQL GUI Client
Creating and Using Connections
Statements and execution
NULL and Default Values
Module 4 : Data Manipulatie
Module 5 : SQL Queries
Module 6 : Grouping
|Data Manipulation Language
DML on virtual columns
Sorting with ORDER BY
NULLs, FIRST, LAST
BETWEEN, IN, ANY, ALL
GROUP BY clause
String and Date Operators
Operators for patterns
Operators for intervals
Module 7 : Functions
Module 8 : Joins
Module 9 : SET Operators
|Function of column values
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
|Joining Multiple Tables
Left Outer Joins
Right Outer Joins
Full Outer Joins
Multiple Join Vonditions
Nesting of SET operators
Working with Command Line
Connect statement and /nolog
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.