The finance team needs revenue + invoice count per country for a target list of markets during the 2012–2013 fiscal window.
| Column | Type |
|---|---|
| InvoiceId | INTEGER (Primary Key) |
| CustomerId | INTEGER NOT NULL |
| InvoiceDate | TIMESTAMP NOT NULL |
| BillingCountry | TEXT |
| Total | NUMERIC(10,2) NOT NULL |
InvoiceDate between 2012-01-01 and 2013-12-31 (both inclusive)BillingCountry is one of: USA, Canada, France, Germany, BrazilBillingCountry, InvoiceCount (number of invoices), TotalRevenue (sum of Total, rounded to 2 decimals)Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.