PostgreSQL - Aggregate Functions and GROUP BY
Consider the table
(101, 'Pen'), (102, 'Pencil'), (103, 'Eraser')
What is the result of:
orders with rows:(101, 'Pen'), (102, 'Pencil'), (103, 'Eraser')
What is the result of:
SELECT STRING_AGG(product, '|') FROM orders;?