AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Warehouse SQL: windows, nested rows and bytes scanned

Write the SQL that free warehouse SQL certificates test, from grouping with HAVING and date parts to common table expressions, joins and unions, running totals with window functions, and unpacking nested and repeated fields, then keep each query cheap by checking how many bytes it will scan.

The free Kaggle SQL courses run their exercises on Google BigQuery, a cloud data warehouse that bills by the bytes each query reads. The exercises check your query's result, and the courses keep warning you about cost: read only the columns you need, and check before you run.

Both lessons run in your browser with SQLite, which speaks almost the same SQL. Where BigQuery differs, the lesson shows the BigQuery form next to it. The data is made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

Take the SQL course first if SELECT and WHERE are new to you.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 30 min Free sample 🔒 AiTeky Pass Groups, dates, common table expressions, joins and unions Count with GROUP BY and filter groups with HAVING, pull the hour or weekday out of a timestamp, name a step with WITH, join two tables on a key, stack results with UNION, and see the BigQuery spellings of each.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 02 35 min 🔒 AiTeky Pass On the job: window functions, nested and repeated fields, and the cost of a query Rank rows, compute running totals, moving averages and gaps between rows with window functions, unpack a repeated field into rows the way UNNEST does, and estimate and cap the bytes a column-store query will scan before running it. Ends with interview questions.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in