SQL Beginner: Simple Logic
\tselect\n\t\ts.product_id, p.product_name\n\tfrom \n\t\tSales s join Product p\n\ton\n\t\ts.product_id = p.product_id\n\tgroup by\n\t\ts.product_id \n\thaving\
\tselect\n\t\ts.product_id, p.product_name\n\tfrom \n\t\tSales s join Product p\n\ton\n\t\ts.product_id = p.product_id\n\tgroup by\n\t\ts.product_id \n\thaving\n\t\tmin(s.sale_date) >= "2019-01-01" \n\t\tAND\n\t\tmax(s.sale_date) <= "2019-03-31"
['MySQL']