✅MySQL || Beginner level || Faster than 98%||Simple-Short -Solution✅
Please upvote to motivate me in my quest of documenting all leetcode solutions. HAPPY CODING:)\nAny suggestions and improvements are always welcome.\n==========
**Please upvote to motivate me in my quest of documenting all leetcode solutions. HAPPY CODING:)\nAny suggestions and improvements are always welcome.***\n*====================================================================*\n\u2705 **MySQL Code :**\n Your runtime beats 98.65 % of mysql submissions.\n```\nSELECT product_id, product_name\nFROM Sales \nJOIN Product \nUsing(product_id)\nGROUP BY product_id\nHAVING MIN(sale_date) >= \'2019-01-01\' AND MAX(sale_date) <= \'2019-03-31\' \n```\n**Runtime:** 980 ms\n**Memory Usage:**  0B\n________________________________\n__________________________________\n\nIf you like the solution, please upvote \uD83D\uDD3C\nFor any questions, or discussions, comment below. \uD83D\uDC47\uFE0F
['MySQL']