Seven months ago, I wrote the presentation Programming the SQL Way with Common Table Expressions. Today, I was finally able to present it at the Montreal ConFoo conference, so I have placed the slides online.
My motivation for writing the talk is that, while I have seen several Postgres common table expression (CTE) talks, they started at too
advanced a level for me to understand how all the CTE parts worked together. My talk starts at a basic level and adds features slowly
until complex CTE queries are shown. The audience seemed to like the talk and had good questions, so I will take that as a good sign.