Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You could do a recursive CTE by passing the start date and stopping at the end date (with the where clause), with the other fields being null or zero (with their castings). Then, just do a union all with the results of this CTE and the original table in the target query. Bingo! The blank months will be there.
Just curious, how would you expand the query to include months with no payment information in the output?