Hi,
lets say i got this ONE table
Name________Sport
=================
Brian Soccer
Karen Golf
Barb Basketball
Terry Soccer
Mona Golf
Tim Basketball
Jack Golf
I want in ONE resultset to get the following
Soccer
=====
brian
terry
Basketball
==========
tim
barb
Golf
======
karen
mona
jack
What is the easiest way to do that using T-SQL?
Thanks
lets say i got this ONE table
Name________Sport
=================
Brian Soccer
Karen Golf
Barb Basketball
Terry Soccer
Mona Golf
Tim Basketball
Jack Golf
I want in ONE resultset to get the following
Soccer
=====
brian
terry
Basketball
==========
tim
barb
Golf
======
karen
mona
jack
What is the easiest way to do that using T-SQL?
Thanks