jen
07/29/2020, 5:31 PMSELECT type,
LISTAGG(custbody_transaction_type, ',') WITHIN GROUP (ORDER BY custbody_transaction_type) AS trans_types
FROM transaction tx
WHERE custbody_policy_number = 4000
AND type IN ('SalesOrd', 'RtnAuth')
GROUP BY type
Clay Roper
07/29/2020, 7:30 PMjen
07/29/2020, 8:22 PMClay Roper
07/29/2020, 8:31 PMNS_CONCAT
?
Can you output the detail rows and summarize in script logic?jen
07/29/2020, 10:17 PMjen
07/29/2020, 10:17 PMClay Roper
07/29/2020, 10:21 PM