Wprowadzenie do PostgreSQL
Daty
Zobacz dostępne terminy tego szkolenia!
Jeśli nie ma dostępnej daty i godziny na interesujące Cię szkolenie, proszę skontaktuj się z nami.
Szkolenie trwa 4 dni po 8 godzin (na miejscu) lub 5 godziny (online).
Jedyna różnica polega na tym, że w szkoleniu online będzie mniej ćwiczeń praktycznych. Jednak przekażemy te ćwiczenia Tobie i nadal możesz je wykonać samodzielnie i poprosić naszych konsultantów o informację zwrotną lub pomoc w razie potrzeby.
Publiczność
Warsztaty zostały zaprojektowane dla osób, które chcą zapoznać się z SQL i PostgreSQL. Dowiesz się, jak korzystać z PostgreSQL i jak pisać poprawne instrukcje SQL. Zaczynamy od podstawowych tematów, takich jak normalizacja, klucze obce i przechodzimy krok po kroku do tematów, takich jak łączenia, podselekcje, analityka i współpraca. Celem jest nauczenie uczestników SQL potrzebnego do pracy z PostgreSQL na praktycznych przykładach, a tym samym przekazanie im narzędzi do codziennej pracy
Treść
Covered topics:
Installing PostgreSQL
- Connection to the database
- Usage of pgAdmin4 and similar tools
Relational data models
- Normalization
- Creating tables and using data types
- Primary Keys and Foreign Keys
- Check constraints
Basic SQL commands
- INSERT: Insert data
- SELECT: Simple queries
- UPDATE: Modify data
- DELETE and SELECT: Delete data
- Filter data
- NULL Handling
- Sort data with ORDER BY
- LIKE queries
- UNION ALL, UNION, EXCEPT
- DISTINCT and DISTINCT ON
- LIMIT and OFFSET
Aggregate functions
- Aggregate data (count, sum, etc.)
- Minimum and maximum values
- Group data (GROUP BY … HAVING …)
- Use ordered sets (WITHIN GROUP …)
Subqueries and CTEs
- Nested queries
- Common Table Expressions (CTEs)
- Use IN and NOT IN
- EXISTS and NOT EXISTS
Joins
- Understand inner joins
- Use outer joins
- Semi joins, anti joins
Date
- Calculating with date and time
- Understanding intervals
- Include range types
Windowing and Analytics
- OVER-clauses
- Partitioning
- Define sliding windows
- Important analytical functions (rank, lag, etc.)
- Time series analysis
Views and materialized views
- Basic views
- Dependency handling
- Using materialized views
Transactions
- BEGIN, ROLLBACK
- Row locking and table locking
- Transaction isolation levels (read committed, etc)
- SELECT … FOR UPDATE
- Deadlocks
Cursor
- Declare cursor
- WITH HOLD cursor
Indexing
- Creating and deleting indexes
- Identify missing indexes
- Avoiding unnecessary indexes
Inne szkolenia, które mogą Cię zainteresować
Oferujemy te usługi
PostgreSQL Optimization & Security
Is your database not running smoothly or are you struggling with security issues? Our experts will analyze problems & optimization potentials within a health check or security audit.
PostgreSQL Infrastructure
PostgreSQL Setup & Installation, automation with Kubernetes and database architecture: We’ll find the optimal setup and make sure that your PostgreSQL Infrastructure meets your needs and expectations.
PostgreSQL Setup & Installation
Get started with PostgreSQL by using our Setup & Installation service. We fully focus on your personal needs and infrastructure. In addition to the configuration itself, you also benefit from the knowledge of our experts in the field of database design.