Postgres Concatenation

前端 未结 3 1653
夕颜
夕颜 2021-01-11 12:03

I\'m trying to a simple concatenation in PostgreSQL and it keeps up throwing up an error message. I don\'t understand what I am doing wrong here.

select conc         


        
3条回答
  •  一生所求
    2021-01-11 12:43

    The concat operator is ||, so select 'abcde' || 'fgh' should work. Also, as @jonathan.cone suggested, check out the docs.

提交回复
热议问题