当前位置:网站首页>Oracle database combines the query result sets of multiple columns into one row
Oracle database combines the query result sets of multiple columns into one row
2022-04-23 13:40:00 【Wangcai 2】
Method 1 :
select field1,listagg(field3,',') within GROUP (order by field3) from test group by field1;
Method 2 ( When method 1 reports that the length of the spliced string is too long , Use method 2 ):
select field1,xmlagg(xmlparse(content field3||',' wellformed) order by field3).getclobval() from test1 group by field1
版权声明
本文为[Wangcai 2]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230604300721.html
边栏推荐
- Esp32 vhci architecture sets scan mode for traditional Bluetooth, so that the device can be searched
- Launcher hides app icons that do not need to be displayed
- XML
- 2021年6月程序员工资统计,平均15052元,你拖后腿了吗?
- 校园外卖系统 - 「农职邦」微信原生云开发小程序
- [point cloud series] multi view neural human rendering (NHR)
- Django::Did you install mysqlclient?
- TIA博途中基于高速计数器触发中断OB40实现定点加工动作的具体方法示例
- The difference between string and character array in C language
- Ai21 labs | standing on the shoulders of giant frozen language models
猜你喜欢
[point cloud series] multi view neural human rendering (NHR)
UEFI learning 01-arm aarch64 compilation, armplatformpripeicore (SEC)
Lpddr4 notes
Tersus notes employee information 516 MySQL query (time period uniqueness judgment of 2 fields)
[Journal Conference Series] IEEE series template download guide
You and the 42W bonus pool are one short of the "Changsha bank Cup" Tencent yunqi innovation competition!
Usereducer basic usage
[point cloud series] summary of papers related to implicit expression of point cloud
缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
Machine learning -- PCA and LDA
随机推荐
解决tp6下载报错Could not find package topthink/think with stability stable.
Campus takeout system - "nongzhibang" wechat native cloud development applet
Why do you need to learn container technology to engage in cloud native development
CSDN College Club "famous teacher college trip" -- Hunan Normal University Station
According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
爱可可AI前沿推介 (4.23)
The interviewer dug a hole for me: how many concurrent TCP connections can a single server have?
XML
[Journal Conference Series] IEEE series template download guide
RTOS mainstream assessment
Common analog keys of ADB shell: keycode
kettle庖丁解牛第16篇之输入组件周边讲解
[point cloud series] deepmapping: unsupervised map estimation from multiple point clouds
校园外卖系统 - 「农职邦」微信原生云开发小程序
playwright控制本地谷歌浏览打开,并下载文件
[point cloud series] pointfilter: point cloud filtering via encoder decoder modeling
缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
Solve the problem that Oracle needs to set IP every time in the virtual machine
Feature Engineering of interview summary
POM of SSM integration xml