~/talk

Programming the SQL Way with Common Table Expressions

Talkat Postgres Open 2012 · 2012-09-17..09-19· [databases]
slides:none on file

Shows exactly what Common Table Expressions do and how far they go: demos of with recursive loops that print 1–10, compute factorial and prime factors, tree walking for part explosions and dependency graphs, and using arrays to sort hierarchical paths. Explains why union all is required, what the termination condition looks like, and introduces writable CTEs that chain reads and writes (for example delete ... returning) so multi-step ops run as one command. Watch if you need concrete queries and working examples.

AI-written summary · about

  1. 0:00Introduction
  2. 3:18Imperative Programming Languages
  3. 6:52Syntax
  4. 9:47Naming a Column
  5. 10:48Union
  6. 11:45Multiple Table Expressions
  7. 14:36Imperative
  8. 15:20Recursive
  9. 20:17Union All
  10. 26:59One to Ten
  11. 28:18Factorial
  12. 29:02Perl
  13. 30:27ASCII
  14. 31:17Circles
  15. 31:47Prime Factors
  16. 35:19Optimization
  17. 35:52Part Explosion
  18. 36:22Part Walking
  19. 39:38Sorting
  20. 40:20ASCII Art
  21. 40:36Full Output
  22. 44:10Dependent Object
  23. 46:09Im a Beginning
  24. 49:24How do they work
  25. 50:59Template Table
  26. 51:50Writable
  27. 52:15ReadOnly
  28. 52:40Average
  29. 54:23Chaining
  30. 54:59Break
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.