Delete all duplicate results in the querylaravel code example Example: remove repeated columns laravel $unique = $collection->unique();