With this data:
| name | movie |
|---|---|
| john | big daddy |
| bob | titanic |
| john | avatar |
I want the output to be:
| name | movie |
|---|---|
| john | big daddy, avatar |
| bob | titanic |
tried this:
SELECT name, LIST_AGG(movie)
from people.table
group by name;
but getting an error:
Function list_AGG(varchar) does not exist, or permission is denied for list_AGG(varchar).
LISTAGGnotLIST_AGGdocs.vertica.com/11.1.x/en/sql-reference/functions/…