1327. List the Products Ordered in a Period
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```mysql []\nSELECT \n    p.product_name,\n    SUM(o.unit) AS unit\nFROM \n    Products p\nJOIN \n    Orders o ON p.product_id = o.product_id\nWHERE \n    o.order_date >= \'2020-02-01\' AND o.order_date < \'2020-03-01\'\nGROUP BY \n    p.product_name\nHAVING \n    SUM(o.unit) >= 100;\n\n```
['MySQL']