By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 7
| profit_month | total_profit |
|---|---|
| 2022-04 | 7000 |
| 2022-05 | 1000 |
| 2022-06 | 0 |
| 2022-09 | 4000 |
SELECT 4
CREATE TABLE
INSERT 0 7
| profit_month | total_profit |
|---|---|
| 2022-04 | 7000 |
| 2022-05 | 1000 |
| 2022-06 | 0 |
| 2022-09 | 4000 |
SELECT 4