小编Thu*_*dan的帖子

Oracle SQL,连接多个列+添加文本

所以我基本上想要显示这个(整列在一列):

我喜欢[icyl column]和[fruit column]的[type column] cake.

结果应该是:

Cake_Column
----------------

I like chocolate cake with whipped_cream and a cherry.

I like strawberry cake with vanilla_cream and a lemon_slice.

etc.

etc.
Run Code Online (Sandbox Code Playgroud)

我需要某种类型的TO_CHAR语句([column]"some text"[column])"new_column_name";

我该怎么知道?

sql oracle concatenation

92
推荐指数
6
解决办法
49万
查看次数

标签 统计

concatenation ×1

oracle ×1

sql ×1