Total transaction values per day in one currency using a rates table with only start dates.
Unlock detailed company stats for this questionUpgrade
SQL: join a transactions table with a rates table that only has start dates, and total the values per day in one currency. The key is deriving each rate's effective end date with a window function (LEAD/LAG with PARTITION BY, plus CTEs).
Format · Asked inside the hiring manager round.
Community answers
No answers contributed by the community yet.
Related courses

Course

