Tech Mahindra Interview Question

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