I have the following situation:
Usuario_A telefone1
Usuario_A telefone2
Usuario_A telefone3
How can I do that when I make a select, have the following output:
+-----------+----------------------------------+
| Usuario_A | telefone1, telefone2, telefone3 |
+-----------+----------------------------------+
In MySQL I know I have the function GROUP_CONCAT
, but for SQL Server I have not identified anything that can help me solve it.