I'm looking for a sql command solution for this problem. I want to retrieve all the rows that have the same atribute and list them. I've tried group by, but it merges the results into one row per chosen field. I want to retrieve the multiple results to do something like, without making single queries for each 'color':
- black
- nissan
- toyota
- red
- ferrari
- yellow
- porsche
- lambo