My issue
SELECT
dps.product_type,
dps.product_id,
dps.units_sold,
ms.month
FROM
division_product_sales dps
JOIN
monthly_sales ms
ON dps.month = ms.month
WHERE
ms.product_type = ‘High_margin’
ORDER BY
ms.month, dps.product_type, dps.product_id;
My code
SELECT
dps.product_type,
dps.product_id,
dps.units_sold,
ms.month
FROM
division_product_sales dps
JOIN
monthly_sales ms
ON dps.month = ms.month
WHERE
ms.product_type = 'High_margin'
ORDER BY
ms.month, dps.product_type, dps.product_id;
Learning course: Database management systems
Problem Link: Project - JOIN and Filtering in Database management systems