That's not something that's easy to produce with SQL, nor should you try. It's mostly a formatting problem, which should be done by the front-end tool generating the query (ASP, Crystal Reports, whatever...).
i.e. use a normal Select statement like:
Select ID, Name, Email from YourTable
and then have your FE tool print/display the resultset in the format you want.