Domanda di colloquio di Tech Mahindra

How will you convert three rows values into a single string using sql ?