simple solution
\nselect a.product_id, product_name\nfrom Sales a\ninner join Product b\non a.product_id = b.product_id\ngroup by a.product_id\nhaving min(sale_date)>=\'2019-01
```\nselect a.product_id, product_name\nfrom Sales a\ninner join Product b\non a.product_id = b.product_id\ngroup by a.product_id\nhaving min(sale_date)>=\'2019-01-01\' and max(sale_date)<=\'2019-03-31\'\n;\n```
[]