1445. Apples & Oranges ¶ SQL 1 2 3 4 5SELECT sale_date, SUM(IF(fruit = 'apples', sold_num, -sold_num)) AS diff FROM Sales GROUP BY 1;