My issue
the given solution is not working
My code
SELECT
dp.product_type,
dp.product_id,
ms.revenue AS total_revenue, -- Use revenue as a proxy for sales
ms.month
FROM
division_product_sales dp
JOIN
monthly_sales ms
ON
dp.month = ms.month
WHERE
dp.product_type IN ('High_Margin') -- Replace with the correct filtering logic
AND ms.month IS NOT NULL; -- Optional: Ensure valid data
Learning course: Database management systems
Problem Link: Project - JOIN and Filtering in Database management systems