ok, la parte sul group by rimane.

Per la concatenazione guarda qui : http://www.1keydata.com/sql/sql-concatenate.html