Expression #1 of ORDER BY contains aggregate function and applies to the result of a non-aggregated query laravel
By Kay Johnson at Aug 11 2020