Mesclando (concatenando) dois valores de uma tabela

Sql para mesclar conteúdo de texto de dois campos em um campo na mesma tabela:

update thetable as firstpart join thetable as secondpart on firstpart.id = secondpart.id set firstpart.value = concat(firstpart.value, 'glue', secondpart.value) where firstpart.condition = 1 and secondpart.condition = 2;