In database nest STRING_AGG() function? throws invalid syntax error

SunithaSunitha Member Posts: 2 Newbie
I tried to use string_agg() function in database nest. but it throws error whatever i used as syntax 

string_agg() WITHIN GROUP BY
STRING_AGG(email,';') WITHIN GROUP (ORDER BY email)I tried above two but no luck for me. Help me with syntax


  • jwpfaujwpfau Employee, Member Posts: 264 RM Engineering
    Hi Sunitha,

    maybe you are missing the "AS emails" parts at the end?

Sign In or Register to comment.