prova con

GROUP_CONCAT(DISTINCT squadre_SerieA.nome_squadra SEPARATOR '|') AS squadre