原数据结构
select ID, INFORMATIONREQUISITIONID, HTMLCONTEXT FROM SEC_INFO_HTMLCONTEXT
HTMLCONTEXT数据类型为clob,常规的group by 是无法使用的,解决办法,直接代码和截图(如下:)
SELECT ID, INFORMATIONREQUISITIONID, wm_concat(HTMLCONTEXT) FROM SEC_INFO_HTMLCONTEXT group by ID, INFORMATIONREQUISITIONID