Months that mattered

With a WITH clause you can name a subquery and treat it like a table. Define monthly_revenue (one row per month: month in YYYY-MM form and its revenue), then list only the months whose revenue topped 3.00.

Tables in this exercise
invoices
id customer_id invoice_date billing_city billing_country total

Back to the chapter