Home > Database > Mysql Tutorial > Oracle 多列合并为一列

Oracle 多列合并为一列

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:01:11
Original
3912 people have browsed it

select concat(

select concat('man','jia','hua') from dual; 这句话有问题。

select concat('man','jia') from dual;这句话就没问题。

concat 函数只能连接2个字符串么?那想要连接3个怎么办?

可以这样处理: SELECT 'man' || 'jia' || 'hua' FROM DUAL; 或者多写几个 concat 函数

linux

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template