How to divide annual amount to months in postgresql
I have an annual amount for each subscription with start_date structure; userid startDate(dd-mm-yyyy) amount 1 01-10-2020 120 1 01-10-2021 240 2 01-08-2020 60 I want to divide annual amount to months equally. Output table should be like; userid startDate(dd-mm-yyyy) amount…