I have a problem with GROUP BY one column and choose second column that is string depends on Count number from column three.
So I have a table with ID\'s in column on