Very simple use case, when using distinct with pagination on sql server, there are two issues. Row count is incorrect. The sql statement that laravel converted is [select count(*) as aggregate from ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する