//ads: ?> Laravel Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) on a sub query with "ROW_NUMBER() OVER PARTITION"phpmysqlsqllaravel PHP Snippet 1: 'strict' => false, // <= be sure that this is set to false