MySQL 2 simple solutions with comment. (Runtime: 846ms, Faster than 99%)
Where and Select\nsql\nSELECT\n    product_id,\n    product_name\nFROM Product\n# get product where only sold in first quarter 2019\nWHERE product_id NOT IN (\n
Where and Select\n```sql\nSELECT\n    product_id,\n    product_name\nFROM Product\n# get product where only sold in first quarter 2019\nWHERE product_id NOT IN (\n    # get all product_id in table Sales Where not sold in first quarter 2019\n    SELECT\n        product_id\n    FROM Sales\n    WHERE sale_date < "2019-01-01" OR sale_date > \'2019-03-31\'\n);\n```\nHaving and Quarter\n```sql\nSELECT\n    p.product_id,\n    p.product_name\nFROM Product AS p\n# join product and sales table\nJOIN Sales AS s ON p.product_id = s.product_id\nGROUP BY p.product_id\n# where in quarter only 1\nHAVING MAX(QUARTER(sale_date)) = 1;\n```\n# Upvote for your support
['MySQL']