Skip to content

Commit

Permalink
Update mysql-cte-group-by-year-month-with-gaps
Browse files Browse the repository at this point in the history
  • Loading branch information
breadthe committed Oct 16, 2022
1 parent ec8ca8c commit e60dd6e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ And here's how the chart looks now.

![Month gaps displaying correctly with MySQL CTE](/assets/img/2022-03-26-month-gaps-fixed-mysql-cte.jpg "Month gaps displaying correctly with MySQL CTE")

## Additional reading

[Tobias Petry](https://twitter.com/tobias_petry) wrote a article about [filling gaps in statistical time series results](https://sqlfordevs.com/statistical-results-fill-gaps) with MySQL and PostgreSQL examples and a detailed explanation. He also recently launched a free ebook on [advanced databased techniques](https://sqlfordevs.com/ebook) which is a must-read.

## Caveats and conclusion

Not everything is perfect:
Expand Down

0 comments on commit e60dd6e

Please sign in to comment.