~/talk

A Hands-on Experience with Complex SQL

Talkat Keep Ruby Weird 2016 · on Friday, 2016-10-28· [databases]
slides:none on file

Live SQL builds a daily run‑rate query that projects each day with billing totals and computes week‑over‑week and month‑over‑month growth using Postgres features: a timestamp range type, generate_series for dates, CTEs to structure steps, and window functions (lag) to compare previous periods. The workflow shows psql tips (psqlrc, backslash timing, \e for edits), handling integer casting, and producing a readable, reproducible query suitable for dashboards.

AI-written summary · about

  1. 0:00Introduction
  2. 2:19Why Postgres is more
  3. 3:01Live SQL demo Mandelbrot
  4. 3:48Setting up psql RC
  5. 5:17Daily run rate SQL
  6. 14:14Window functions growth
  7. 19:32Better SQL tips
~/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.