SQL – Columns merge and grouping by column name while summation of the other column I have a question related to the SQL query. The data looks like this: