Problem 2228 · Easy

Users With Two Purchases Within Seven Days

SQL walkthrough with invented sample tables. Find users who made two distinct purchases no more than seven days apart, including two purchases on the same day.

Open the interactive visualisation