Skip to content

By role

SQL interview questions for analytics engineers

Analytics engineer screens go past the query to the model: checking grain, deduplicating reloads, building type 2 history, joining facts to the dimension row that was true at the time, and filling gaps with date spines.

Start with a free oneFilter all 81

What to get right

  1. Prove the grain with a GROUP BY ... HAVING count(*) > 1 before you trust a join.
  2. Join type 2 tables on the time range, not just the key.
  3. Build a date spine when every day must appear, even days with no rows.

Analytics engineering Read the lesson

Deduplication and latest row Read the lesson

Dates and time Read the lesson

Joins Read the lesson

CTEs and subqueries Read the lesson

Gaps and islands Read the lesson

More for this role