SyntaxFix
Write A Post
Hire A Developer
Questions
In Eloquent you can also query like this:
$users = User::select('name')->distinct()->get();