You are given a sales table for a fruit stand. Each row represents the number of a specific fruit sold on a given day.
Write an SQL query to report the difference between the number of apples and oranges sold each day.
| sale_date(DATE) | fruit(VARCHAR) | sold_count(INTEGER) |
|---|---|---|
| 2026-02-01 | apples | 10 |
| 2026-02-01 | oranges | 8 |
| 2026-02-02 | apples | 15 |
| 2026-02-02 | oranges | 20 |
| 2026-02-03 | apples | 20 |
| 2026-02-03 | oranges | 0 |
| fruit(VARCHAR) | stock_remaining(INTEGER) |
|---|---|
| apples | 100 |
| oranges | 50 |
| fruit(VARCHAR) | price_per_unit(DECIMAL) |
|---|---|
| apples | 0.5 |
| oranges | 0.6 |
| sale_date(DATE) | diff(INTEGER) |
|---|---|
| 2026-02-01 | 2 |
| 2026-02-02 | -5 |
| 2026-02-03 | 20 |