Explain the concept of window functions in BigQuery and how they differ from aggregate functions
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what window functions are in BigQuery and how they differ from GROUP BY aggregation. It tests the parts of the OVER clause, ranking and navigation functions, default window frames, and practical uses such as running totals and keeping the latest row per key.