https://www.yuyagishita.com/tech/database/get-current-streak-postgresql/
最新の継続日数を取得するSQLを作ろうとした