my table is like this
id - user_id - car - color
1 - 3 - BMW - red
2 - 5 - JAG - blue
3 - 3 - JEEP- pink
4 - 5 - MERC- blue
5 - 6 - BMW - black
And I want to return one car per user, not two, doesn’t matter which is chosen. What would my query look like?
Thank you so much for your help!
Dex
1 Answer