# #1084 Sales Analysis III

#### [https://leetcode.com/problems/sales-analysis-iii/](https://leetcode.com/problems/sales-analysis-iii/)

{% tabs %}
{% tab title="MS SQL Server" %}
```sql
SELECT product_id, product_name
FROM Product
WHERE product_id NOT IN(
    SELECT product_id 
    FROM Sales
    WHERE sale_date < '2019-01-01' OR sale_date > '2019-03-31')
```
{% endtab %}
{% endtabs %}
