Question: Can you please help with this query: Latest Year Monthly Purchases Report - Province, Product, Jan Total Sales, Feb Total Sales, Mar Total Sales, Apr
Can you please help with this query:
- Latest Year Monthly Purchases Report- Province, Product, Jan Total Sales, Feb Total Sales, Mar Total Sales, Apr Total Sales, May Total Sales, Jun Total Sales, Jul Total Sales, Aug Total Sales, Sep Total Sales, Oct Total Sales, Nov Total Sales, Dec Total Sales, Total Sales for All Products
- All Products must be included even when none of those products were sold that month.
- Each month is determined by a its own subquery.
- Months are ONLY for the latest year.
*** can use MYSQL, SQL SERVER OR SQLDEVELOPER DEPARTMENT_PK (DEPARTMENTID) DEPARTMENT PK (D" v:shapes="Picture_x0020_36">
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
