My issue
Not able to solve the problem
My code
/* Write a query to output the following
- product_id, units_sold and month of sale for all high margin products sold in the year */
SELECT
product_type
product_id
units_sold
Month
FROM
division_product_sales dps
JOIN
monthly_sales ms ON dps.month = ms.month
WHERE
dps.product_type = 'High_Margin';
Learning course: Learn Data Analytics using SQL and Python
Problem Link: Practice Problem in - CodeChef