我想获得一组邮件 ID,但在我的查询中,这没有被正确解析为单行。请帮我解决这个问题。
SELECT LISTAGG ( EMAIL) WITHIN GROUP (ORDER BY EMAIL) EMAIL1 FROM USER
WHERE ID IN (107) GROUP BY EMAIL
电流输出:
abdul@eetmx.com
joseph@eetmx.com
ranjith@eetmx.com
预期输出:
abdul@eetmx.com,joseph@eetmx.com,ranjith@eetmx.com