My issue
I am unable to solve this question please provide correct solution for this question
My code
SELECT DISTINCT
pc.product_type,
dps.product_id,
dps.units_sold,
dps.month
FROM
division_product_sales dps
JOIN
product_catalog pc ON dps.product_id = pc.product_id
JOIN
monthly_sales ms ON dps.month = ms.month
WHERE
pc.margin_type = 'High_Margin'
ORDER BY
dps.month, dps.units_sold DESC;
Learning course: Database management systems
Problem Link: Project - JOIN and Filtering in Database management systems