CYBERTEC Logo

Introducción a PostgreSQL

LEVEL: Expert
Este workshop está orientado a personas que quieren iniciarse en SQL y PostgreSQL. Aprenderá cómo usar PostgreSQL y como escribir sentencias SQL adecuadamente. Comenzamos con temas básicos como normalización, claves externas y avanzamos paso a paso hacia temas como uniones, subselecciones, análisis y demás. El objetivo es enseñar a los participantes el SQL necesario para trabajar con PostgreSQL mediante ejemplos prácticos y así darles las herramientas para su trabajo diario.
contacto

contenido del curso

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

información del curso

Level Expert

Para futuros expertos.

Lengua

English or German

Lugar

3 Días

Lugar y Fecha

Actualmente no hay fecha ni hora disponibles para esta determinada formación, si está interesado póngase en contacto con nosotros.
Solicitud de Curso
CYBERTEC Logo white
CYBERTEC PostgreSQL International GmbH
Römerstraße 19
2752 Wöllersdorf
Austria

+43 (0) 2622 93022-0
office@cybertec.at

Get the newest PostgreSQL Info & Tools


    This site is protected by reCAPTCHA and the Google Privacy Policy & Terms of Service apply.

    ©
    2024
    CYBERTEC PostgreSQL International GmbH
    phone-handsetmagnifiercrosscross-circle linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram