MySQL 多表关联一对多查询取最新的一条数据:https://blog.csdn.net/u013902368/article/details/86615382
Laravel query builder 使用子查询:https://segmentfault.com/a/1190000008436003
Laravel & Lumen 数据库操作速查:https://segmentfault.com/a/1190000005792605
查询构造器:https://learnku.com/docs/laravel/5.7/queries/2289
Laravel 5.7 joinSub 子查询,如果有表前缀的话,别名怎么定义?:https://learnku.com/laravel/t/21618