medium10 pts · first answer countsdata-warehousingsqlwindow-functions
Keeping the latest row per customer
A raw table has several rows per customer_id from repeated loads. You want only the most recent row per customer, by updated_at. Which approach in Snowflake or BigQuery does this?
Discussion 0
Join free to post in the discussion.
Related questions
- Purpose of a primary keyData Engineer
- Row count of a LEFT JOINData Engineer
- Filtering with = NULLData Engineer
- COUNT(*) vs COUNT(column)Data Engineer
- Filtering groups with HAVINGData Engineer
- Adding a number to NULLData Engineer
- Kimball versus InmonData Engineer
- Orders pointing to missing customersData Engineer