I’d like to use MySQL to find duplicates and then display those items as one, combined record. For example, I have two columns: Name and Fruit. A sampling of records might look like this:
Joe – Peaches
Faye – Bananas
Joe – Starfruit
Sam – Apples
I want to display this data as:
Joe – Peaches, Starfruit
Faye – Bananas
Sam – Apples
Is that possible? Could you help me with the MySQL query to start? I’m using VB.NET for my application. Thank you.
Use
GROUP_CONCATfor that.