astroanu said:
try using groupBy instead of unique
i try that but i need to order:order('age') from the smaller to the bigger and i not get that
astroanu said:
orderBy('age', 'ASC')
read the docs, everything is there.
its not work i have 2 user with the same last name but he takes the bigger age and not the small
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community