My fault, there was an excess parenthesis. Should beSELECT array_to_string( array(SELECT jobcode FROM slrojobs WHERE ronum = '56890' ORDER BY jobnum), ', ')