Aggregate functions work on a single column to summarize many rows intofewer rows. You seem to be wanting to combine multiple columns which wouldbe done by concatenation or array[column1,column2] or something like that.