Invoices per year

Time to group by time. strftime('%Y', invoice_date) extracts the year from a date. Show how many invoices each year produced, grouped by that year — columns year and invoices.

Tables in this exercise
invoices
id customer_id invoice_date billing_city billing_country total

Back to the chapter