Merge rows with different columns

  DB, WEB

SELECT id, name, MAX(Column1), MAX(Column2), MAX(Column3)

FROM table

GROUP BY name