Question d’entretien chez Tech Mahindra

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