✅Simple and Easy Solution || Having || Beats 99% 🔥🔥🔥
Code\n\nselect product_name, sum(unit) as unit from products\njoin orders using(product_id)\nwhere year(order_date)=2020 and month(order_date)=2\ngroup by 1\nha
# Code\n```\nselect product_name, sum(unit) as unit from products\njoin orders using(product_id)\nwhere year(order_date)=2020 and month(order_date)=2\ngroup by 1\nhaving sum(unit)>99\n```
['MySQL']