Problem 2292 · Medium

Products With Three or More Orders in Two Consecutive Years

SQL walkthrough with invented sample tables. Count orders per product and year, then keep products with busy years in a row.

Open the interactive visualisation