Skip to content
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,12 @@ FROM (
UNION ALL
SELECT
budget_id
, amount_major
, amount_major * (
CASE
WHEN frequency = 'monthly' THEN 11
ELSE 1 -- assumes yearly
END
) AS amount_major
FROM scheduled_flat_transactions
WHERE
category_name = 'Apps'
Expand Down