. "While there are many solutions to this problem, display is an issue best handled outside of SQL. If you need to format for later display, and you can do so in your interface (Excel, a web page, etc.) that would usually be preferable, in terms of performance and how the program works." . . . .