This talk is best for those who are are familiar with databases and SQL, but want to learn how to move processing from their applications into the database to improve consistency, administration, and performance. Topics covered include advanced SQL features like referential integrity constraints, ANSI joins, views, rules, and triggers. The presentation also explains how to create server-side functions, operators, and custom data types in PostgreSQL.
Duration: 3 hours, 4 hours with questions
Nulls are a very useful but also very error-prone relational database feature. This talk is designed to help applications developers better manage their use ofnulls. It covers the use ofnulls in relational databases, with a focus on Postgres behavior. It covers three-value logic, comparingnulls, mappingnulls to strings, indexingnulls, and aggregates.
Duration: 30 minutes, 45 minutes with questions
SQL is a declarative language, meaning the user submits an SQL command and the database determines the optimal execution. Common Table Expressions (CTEs) allow queries to be more imperative, allowing looping and processing hierarchical structures that are normally associated only with imperative languages. This talk will help developers use CTE queries in their applications and allow operations that normally could only be done in application code to be done via SQL queries.
Duration: 30 minutes, 45 minutes with questions
Normal SQL queries return rows where each row is independent of the other returned rows. SQL window functions allow queries to return computed columns based on values in other rows in the result set. This presentation explains the many window function facilities and how they can be used to produce useful SQL query results.
Duration: 60 minutes, 75 minutes with questions