2
I have the following select :
SELECT pedido, item FROM pedidos
How do I get the result of it in columns and step to row concatenating with -? Example:
Upshot
pedido    item
1         batata
1         arroz
1         feijão
1         tomate
Expected:
pedido   item 
1         batata - arroz - feijão - tomate
Perfect, Thank you.
– Chefe Druida