Gap Months — SQL

For each shop, compare each month's revenue with the month before it, treating a month without sales as zero; list only months with sales.

SQL · Hard

More in SQL

All algorithm problems