4.1 CTE(Common Table Expressions)
https://dev.mysql.com/doc/refman/8.0/en/with.html
https://dev.mysql.com/doc/refman/8.0/en/with.html#common-table-expressions-recursive
https://www.s-style.co.jp/blog/2017/07/884/
https://yakst.com/ja/posts/4322
https://yoku0825.blogspot.com/2018/04/mysql-80ctewith-recursive1000.html
https://tombo2.hatenablog.com/entry/2019/03/10/222732
http://next4us-ti.hatenablog.com/entry/2019/03/21/003927
https://qiita.com/hmatsu47/items/01211556089b19913d05
4.2 ウィンドウ関数(Window Function)
https://dev.mysql.com/doc/refman/8.0/en/window-functions.html
http://blog.kimuradb.com/?eid=877509
http://next4us-ti.hatenablog.com/entry/2019/03/24/225924
https://tombo2.hatenablog.com/entry/2019/03/12/231618