Simple MySQL using HAVING SUM()=0
\nSELECT s.product_id,\nproduct_name\nFROM sales s\nJOIN product p\nON s.product_id=p.product_id\nGROUP BY s.product_id\nHAVING SUM(IF(sale_date BETWEEN \'2019-
```\nSELECT s.product_id,\nproduct_name\nFROM sales s\nJOIN product p\nON s.product_id=p.product_id\nGROUP BY s.product_id\nHAVING SUM(IF(sale_date BETWEEN \'2019-01-01\' AND \'2019-03-31\',0,1))=0\n```
[]