Don't know the answer !
\n\n\n\nselect distinct p.product_id, product_name \nfrom product p left join \nsales s on p.product_id=s.product_id\ngroup by p.product_id\nhaving min(sale_dat
![image](https://assets.leetcode.com/users/images/a3b1fb94-0a62-42f6-a1a9-0602786b8dce_1655784039.0457337.gif)\n\n\n```\nselect distinct p.product_id, product_name \nfrom product p left join \nsales s on p.product_id=s.product_id\ngroup by p.product_id\nhaving min(sale_date) >= \'2019-01-01\' \n    and max(sale_date) <= \'2019-03-31\';\n```
['MySQL']