Introducción a SQL
Fechas
¡Consulta las fechas disponibles para el curso!
Si no hay fecha y hora disponibles para cierta capacitación que le interesa, comuníquese con nosotros. contacto.
Ver fechas >>
Este curso dura 3 días con 8 horas cada uno (cursos presenciales) o 5 horas cada uno (cursos online).
La única diferencia es que habrá menos ejercicios prácticos en los cursos online. Sin embargo, se los entregaremos y los podrán hacer por su cuenta y pedir ayuda a nuestros consultores o realizar comentarios en caso de ser necesario.
Audiencia
Este workshop está orientado a personas que quieren iniciarse en SQL y PostgreSQL. Aprenderá cómo usar PostgreSQL y como escribir sentencias SQL adecuadamente
Contenido
DÍA 1
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
DÍA 2
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
DÍA 3
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
Other courses that might interest you
We offer these services
PostgreSQL Troubleshooting
PostgreSQL Health Check
The Health Check identifies errors and problems that may occur in your PostgreSQL database in terms of performance, high availability and security.
9/5 Basic Support
El soporte básico 9/5 de CYBERTEC incluye todos los servicios de Product Support y además Tuning y resolución extendida de problemas. 9/5 significa que estaremos disponibles para usted de lunes a viernes de 9 AM a 5 PM (CET / MEZ). Otras zonas horarias a petición. CYBERTEC proporciona las correcciones de todos los errores para las […]