sql - xml agg subquery in select statement taking long time to return data in oracle 12c? -


select  ( select substr(rtrim(xmlagg(xmlelement(e,                a2.action || ','||a2."date"|| ',' || a2."group",';')                    order a2.counter).extract ('//text()').getclobval(), ','),1,4000)           test3 a2           a2.unique_key = c1."number" group c1."number"         ) test_data test1 c1  left outer join test2 c2 on c1."number" = c2."number"  ; 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -