7 lines
211 B
SQL
7 lines
211 B
SQL
SELECT strftime('%Y', InvoiceDate) as Year,
|
|
COUNT(*) as InvoiceCount
|
|
FROM Invoice
|
|
WHERE strftime('%Y', InvoiceDate) = '2009'
|
|
OR strftime('%Y', InvoiceDate) = '2011'
|
|
GROUP BY strftime('%Y', InvoiceDate);
|