Return month and profit (income − expenses) for every month in either table, treating missing values as 0. Use UNION ALL, not a join.
month
profit
4 rows with columns month, profit
Run your code to see the output here.