I try count a frequency of the names in the archive of the events. I want find who are the most active persons. My table looks like this:
+---------+---------------------+
|  event  |     names           | 
+---------+---------------------+
| event1  | name1, name2        |   
| event1  | name2, name3, name4 |   
| event1  | name4, name1, name2 |   
+---------+---------------------+
I need to help make a select with statistics like this:
name 2: 3x name 1: 2x name 4: 2x name 3: 1x
I will be thankful for any tips.