PostgreSQL 11 Querying
Deze cursus is momenteel niet ingepland op de open kalender, maar kan op aanvraag georganiseerd worden.Cursus aanvragen
Everyone who has to access or develop a PostgreSQL database like analysts or even technical designers, database administrators and developers, client application developers and Business Inteligence professionals.
Knowledge of relational database principles.
After following this course, the participant will know how to create objects in a PostgreSQL database and query or modify data in a consistent and efficient way..
Instructor-led workshop with practical exercices.
PostgreSQL is an open source database server which requires little or no maintenance and provides a very low total cost of ownership. Yet, it has proven to be an important and mature player in production environments. Together with the rise of its popularity, also the need for knowledge on this unique system has increased.
After a short introduction into the world and history of PostgreSQL, the database is uncovered and a realistic case is presented. The first part of the training will concentrate on data manipulation language, and more in particular the query. As compared to some other database systems, PostgreSQL has full support for the latest SQL ISO standard like Oracle or SQLserver, and so we dig thoroughly through all the syntax possibilities.
The second part of the course deals with data definition language. Not only will be explained how to create objects like tables, views, materialized views, sequences and indexes. We will also built a case to demonstrate the feature of table inheritance and table partitioning.
In the final modules we have a look at the PostgreSQL implementation of integrity constraints and some tips and tricks on transactions, locking and concurrency control.
- Introduction to PostgreSQL
- Brief history
- Licensing and conventions
- Installing client software
- Clients and Connectivity
- Connecting to PostgreSQL
- Data Manipulation Language
- Select clause
- Where clause
- Values lists
- Limit and Offset
- Order by
- Group By and Having
- Windowing functions (analytical)
- Union, Intersect and Except
- Common Table Expressions
- Type conversion
- Full Text Search
- Insert, Update and Delete
- Data-modifying statements in With clause
- Data Definition Language
- Metadata and the systems catalog
- Creating tables
- Table inheritance
- Table partitioning
- Materialized views
- Primary key or OID
- Unique key
- Foreign key and referential integrity
- Domains and check constraints
- Performance and Concurrency
- Transactions and MVCC
- Transaction isolation and locking
- Concurrency Control