Skip to content
SQL for Data Analysis: Answer Business Questions with PostgreSQL
Text· 5 minMembers-only lesson

Date ranges, intervals and elapsed time

Filtering by period and measuring the time between two events are the two daily jobs of a time-based report. Both look easy and both have a trap: a range that loses the last day of the month, and a subtraction…

This lesson is for members only

This lesson belongs to the full course

Buy the course once, keep access with no time limit.

Lessons marked "open access" work without an account.

We measure site traffic (GA4, Mixpanel). If you say yes, Microsoft Clarity also records how the public pages are used (clicks, scrolling) and we tune Meta ads. Nothing is stored on your device before you answer, and your choice sticks for 6 months.