MySQL Min and Max Approach
select p.product_id, p.product_name\nfrom product p\ninner join sales s on s.product_id = p.product_id\ngroup by p.product_id\nhaving min(sale_date) >= \'2019-0
select p.product_id, p.product_name\nfrom product p\ninner join sales s on s.product_id = p.product_id\ngroup by p.product_id\nhaving min(sale_date) >= \'2019-01-01\' and max(sale_date) <= \'2019-03-31\'
['MySQL']