This might be quite easy but have no idea how to.
I have a table that can have repeated values for a particular non-key column field. How do I write a SQL query usin
In Eloquent you can also query like this:
$users = User::select('name')->distinct()->get();