MySQL combine two columns into one column

后端 未结 10 994
后悔当初
后悔当初 2020-11-29 00:46

I\'m trying to find a way to combine two columns into one, but keep getting the value \'0\' in the column instead to the combination of the words.

These are what I\'

10条回答
  •  野性不改
    2020-11-29 01:43

    This is the only solution that would work for me, when I required a space in between the columns being merged.

    select concat(concat(column1,' '), column2)
    

提交回复
热议问题