Beginner
Date Bucketing in GoogleSQL
Use DATE_TRUNC, EXTRACT, and calendar-safe filters for weekly and monthly reporting.
Practical lessons for writing safer, faster, and easier-to-review BigQuery queries.
Beginner
Use DATE_TRUNC, EXTRACT, and calendar-safe filters for weekly and monthly reporting.
Intermediate
Rank rows, compute running totals, and compare current rows to prior periods.
Practical
Reduce scanned bytes with partitions, selected columns, and bounded date filters.
Intermediate
Use UNNEST and ARRAY_AGG for nested BigQuery records without losing row meaning.
Practical
Extract typed fields from JSON columns and keep parsing logic reviewable.
Team
A repeatable checklist for validating generated SQL before execution.